Hi All,
I am setting up a Sendmail box to relay for my local network. The machine does not hadle incomming mail of any kind - it purely relays out.
I would like it to relay purely based on IP's so that anything in the 192.168.1.0/24 network can relay out with no other checks done.
To achieve this I have edited /etc/mail/sendmail.mc and commented out "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl" I have also added "FEATURE(`accept_unresolvable_domains')dnl" in an attempt to stop Sendmail from doing an rDNS lookup on my IP (They are all local IP's so have no rDNS).
I then edited /etc/mail/access and added:
192.168.1.0 RELAY
Finally I ran "make -c /etc/mail" and restarted Sendmail. Relaying on the localhost works fine, I onyl egt an issue when trying to relay from a seperate machine (Within the 192.168.1.0/24 subnet).
Here's a log extract showing the problem:
Code:
Oct 3 16:54:30 anima sendmail[6570]: i93FsUqq006570: ruleset=check_rcpt, arg1=<nick@blah.com>, relay=[192.168.1.5], reject=550 5.7.1 <nick@blah.com>... Relaying denied. IP name lookup failed [192.168.1.5]
It sounds like an rDNS error but I have added the feature to stop it doing this.
Everything else is a vanilla install on CentOS (Red Hat enterprise Rebuild).
Any ideas?
Thanks, Nick