|
Re: Sendmail won't deliver email if it originates from another server
Take a look at the access file in "/etc/mail". I had to set mine up to look like.
Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
Connect:192.168.200 RELAY
Connect:stone.bp RELAY
Connect:jow.bp RELAY
Connect:165.236.177.abc RELAY
The kicker was the last line. It is my work IP number and a fairly static IP number. I had to enter it into the file.
Sendmail.mc had the following line added.
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
The sendmail.mc sent with Fedora is for email that originates with 127.0.0.1. When you start listening for emails on port 25, the email spammers hammer you if you relay stuff.
My email is a comcast.net and EVERYBODY blacklists comcast except for certain sites that are comcast.net approved. But that is outgoing email not incoming.
Also, your ISP could block all port 25 (smtp) packets. The only way I know to test that is from your external site do" "telnet problemserver.com 25". If you get through type "HELP" (in caps). If you don't get through your ISP or firewall is blocking port 25. Try the VRFY and EXPN commands and then look at your logs. Also try "debug"! There used to be a trapdoor back way into sendmail with root privledges years ago. Now it just writes a message to your logs.
|