Ano-Tech Computers
Enter keyword:

Sendmail doesn't listen to other addresses than 127.0.0.1
Problem:
Sendmail is running and can be reached using "telnet localhost 25" but does not accept connections from any other hosts.
 
Solution:
First of all, rule out the possibility of firewalls blocking access. This is the most common cause for problems.

Then check your "/etc/hosts.allow" and "/etc/hosts.deny" files. Under normal circumstances you'll want anyone to be able to access sendmail.

Finally, verify that the file "/etc/mail/sendmail.mc" contains a line "Djdomain.com" where "domain.com" is replaced with the official domain name of your mail server.

 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles