It sounds like Sendmail is ignoring connection requests on the localhost address 127.0.0.1. This is the default behavior in newer versions of Sendmail and is meant to make it more difficult for spammers to relay spoofed e-mail through your mail server.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Enabling local mail delivery can be made safer by adjusting your firewall to allow only localhost to accept connections to Port 25 from localhost itself. To enable Sendmail connections to localhost from localhost, add the localhost address 127.0.0.1 to the DaemonPortOptions setting in the Sendmail configuration file.
Make the changes to the /etc/mail/sendmail.mc file, then regenerate the sendmail.cf file and restart Sendmail. Many Linux systems rebuild sendmail.cf every time /etc/init.d/sendmail is used to start Sendmail, so making the change may be as simple as adding the line "DAEMON_OPTIONS('Port=smtp,Addr=127.0.0.1, Name=MTA')dnl" below the existing DAEMON_OPTIONS line in sendmail.mc and issuing the command /etc/init.d/sendmail restart.
| Use this form to start a public discussion with other Linux World users on this article. Log In | Register for an account (Why you should) |
Note: Register to have your user name appear; otherwise your comment will show up as "Anonymous."
*Anonymous comments will only appear once they are approved by the moderator.
• Dell puts Linux and Atom in Vostro PCs
• Mozilla names best Firefox 3 add-ons
• Torvalds: Fed up with the 'security circus'
• Dell Latitude ON - big win for Linux
• Open source advocates hail appeals court ruling
LinuxWorld Conference and Expo San Francisco, August 4-7, 2008.
Linux Plumbers Conference Portland, OR, Sept. 16-19, 2008.
FreedomHEC Santa Monica, November 8-9, 2008.
| The Trend from UNIX to Linux in SAP(r) Data Centers |