After installation of Patch 142437-05 (and newer) and therefore upgrading to sendmail 8.14.4, I cant get sendmail to bind on all interfaces. Removing the patch and downgrading to 8.13.8 resolves the issue.
Normally, you specify where to bind to with the following line in sendmail.cf:
Omitting the "Addr=127.0.0.1", sendmail should bind on all interfaces (as written in the docs). However, without Addr= sendmail binds to 127.0.0.1, as long as I dont specifiy another valid IP address of the server, in which case it binds there.
Sendmail 8.13.8 behaves this normally (binding to *:25), 8.14.4 not.
Did I miss something, or is the current version of sendmail broken?
If you do a ps -ef and grep send that will tell you what mode sendmail is in. If you are in local mode it will show up as sendmail -bl if you are in daemon mode it will show up as sendmail -bd.
Local mode listens on the loopback interface only.
When we upgraded to 8.14.4 I had to redo my sendmail.mc and/or submit.mc files (I'm not brave enough to directly modify my sendmail.cf)
At least 3 times over the past year patches have caused me to rebuild sendmail so I keep a copy of the .mc files.
Yes, I put MODE=-bd in a new file /etc/default/sendmail and it fixed "one" of my 60 servers. :( So, I spoke too soon.
So thanks a ton! I'll try your method.
I don't think I will ever patch again. The recommended patches changed the version of Java (1.5.0_21 to 1.5.0_26) which broke Sun's OWN web servers! Both 6 and 7! Nice! Still trying to fix several other apps that broke also. Will be great that your fix works. Now I can move on to the other issues.