Hi,
Sorry for the late reply, its been a long few weeks.
Just to give you background:
OS: Debian Lenny
Server Name: newssrv
fqdn: newssrv.domain.com
MX: news.domain.com -> newssrv.domain.com
Receiving emails is working to news.domain.com as I can see the entries in the log file.
To answer your question:
Mailloop: I have set news.domain.com in company_tbl
Telnet: works for localhost and newssrv.domain.com
/etc/host: newssrv
/etc/mail/local-host-names:
localhost
newssrv.domain.com
I have sinced reinstalled from ubuntu to debian and at last resort will try centos.
So currently I can see that sendmail is sending to a fake email called
bounce@recipient.com and is not a real email box. I can see in the logs
Nov 17 20:01:53 newssrv sendmail[5506]: 1580T0c0300000001: to=<bounce@recipient.com>, delay=00:00:53, xdelay=00:00:06, mailer=esmtp, pri=0, relay=mx.adeptiva.com. [120.50.46.231], dsn=5.1.1, stat=User unknown
Since sendmail is registering that the user as "User unknown", it should register this as a bounce in OpenEMM Statistics. This is somewhat different from my original problem.
One of my concerns is that that I was getting this error before:
unable to write pid to /home/openemm/var/run/sendmail-mqueue-client.pid: Permission denied
It was recommended to make amendments to bin/mailer.sh and to remove $BASE, which works
http://www.openemm.org/forums/ftopic536.html
By doing so I am not sure what the effects are. I tried changing owners and group memberships but that did not help
So it seems my bounces are not getting directed to the correct place.
Appreciate you help so far. I will go through more of the forum to see if I can find the answer. If I get this working, I will do a proper howto for Lenny and Ubuntu.