Red Hat Bugzilla – Bug 71906
email sent via "/usr/sbin/sendmail" fails to get sent.
Last modified: 2007-04-18 12:45:40 EDT
Description of Problem:
Outgoing email fails to go: client spool manager fails to connect to sendmail
Version-Release number of selected component (if applicable):
Very, for me. Box needs to be networked, of course, and shouold probally have
a static IP address (its a "real IP" vs. 127.0.0.1 issue)
Steps to Reproduce:
1. Use mailx to send mail message off box
Mail message gets stuck in /var/spool/clientmqueue
Mail message gets sent.
Stupid extra dot... One part of sendmail is apparently trying to connect to
"hawke.oppositelock.org.:25" Notice the "." after org. That dot is all good
and proper, except that the default install didn't include
"hawke.oppositelock.org." as a name for 127.0.0.1 in /etc/hosts.
As a result, the client side looks up that name, finds it as my external IP
address, and attempts to connect to it, which fails (of course) as sendmail is
not listening on the external IP address by default.
Quick hack to get my email out: added hawke.oppositelock.org. to /etc/hosts.
i had this happen on my laptop which gets it's ip via dhcp. hostname is
my /etc/hosts file looks like this:
127.0.0.1 foo.bar.org foo localhost.localdomain localhost
note the last alias with trailing period: localhost.bar.org.; i had to add this
to make it work.
The newest rawhide version should have this fixed with the default setup.
Please reopen if that does not work for you.
http://people.redhat.com/laroche/ also has the newest rpm available.
Thanks a lot,
Florian La Roche