Red Hat Bugzilla – Bug 236804
Mail from logwatch bounces
Last modified: 2007-11-30 17:12:02 EST
Description of problem:
Mail bounces becasue localdomain is a bad domain:
----- The following addresses had permanent fatal errors -----
(reason: 553 5.5.4 <firstname.lastname@example.org>... Real domain name required
for sender address)
(expanded from: root)
----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> MAIL From:<email@example.com> SIZE=20837
<<< 553 5.5.4 <firstname.lastname@example.org>... Real domain name required for
501 5.6.0 Data format error
Version-Release number of selected component (if applicable):
100% for the given configuration
Steps to Reproduce:
1. Update sendmail
Mail from cron tasks breaks.
Mail delivered to sysadmin.
The error is trivial to fix by editing /etc/sendmail.cf, but the point
is, this should not happen in configs where everything is 100% stock.
Could it be that there is no localhost.localdomain entry in /etc/hosts?
1. It's there:
[zaitcev@niphredil ~]$ grep localhost /etc/hosts
127.0.0.1 localhost.localdomain localhost niphredil.zaitcev.lan
::1 localhost6.localdomain6 localhost6
2. This is a regression. Worked before update, stopped after update,
without changes to the /etc/hosts.
I can not reproduce the problem here at all. It is working as expected.
Can you please verify if this is still happening for you with the original
Looks like it's not happening anymore, although on the other hand I stopped
getting mails from logwatch altogether some time ago.