Chris Blessing wrote:

> I bet someone knows this answer...
> I upgraded to sendmail 8.9.3 a few days ago and it has been giving me
> relaying problems.  What I want to do it basically make it a public SMTP
> server for anyone that I add to a list of domains allowable for relay. 
> I renamed my old /etc/mail/relay_allow file to /etc/mail/relay-domains
> (I think 8.9.3 uses this instead) but it seems that it's comparing that
> list of domains to the recipients of the emails I send, not the origin
> of them.

It uses the relay-domains file in both directions. If any of the
recipient's email address, the source IP address or the corresponding
hostname are found in the relay-domains file, the message should be
allowed (subject to any other rules which are in use).

> Say I am at t-103.bleh.com and my email address is
> [EMAIL PROTECTED] and I am sending an email to [EMAIL PROTECTED], if I
> don't have foo.com in the relay-domains file I get the Relaying Denied
> error.  Additionally, if I am at ptp77.bleh2.com and my return email is
> still [EMAIL PROTECTED] and I send a message to anyone outside of my
> relay-domains file, I get the RD error as well.  Is there a simple
> solution for this or do I need to recompile?  I have been on the
> sendmail.org faq a couple of times but haven't got anywhere.  Anyone
> have any ideas?  Thanks in advance...

1. Was sendmail.cf built with or without the relay_hosts_only feature? 
If it was built with FEATURE(relay_hosts_only), you have to list each
individual hostname or IP address, not just the domain or network
part.

2. Do you have reverse DNS configured correctly? Any source hostnames
in the relay-domains file are checked against the result of performing
a reverse DNS lookup on the remote end of the SMTP connection (not
against the From:, Reply-To: etc addresses; that would be pointless).

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to