Mail Relay Server by using Sendmail
I set up a mail relay server (red hat9 , sendmail 8.12.10)
I would like to allow relay only for email sending to xxx@abc.com so I write in /etc/mail/access: To: abc.com RELAY Connect: abc.com RELAY according here--> anti_spam.html#access_db_fine in sendmail.org But it seems don't work as I get "Relay Denied error". Anyone knows how ?? Thanks a lot !!!! |
I think the way you would do that wouldn't be in the access file. It would be to put "abc.com" in the relay-domains file and ".abc.com smtp:10.1.2.3" in the mailertable file. Of course change 10.1.2.3 to the appropriate IP.
|
Problems solved:
To:abc.com RELAY in /etc/mail/access No space behind ":" is allowed. Thanks~ |
All times are GMT -5. The time now is 07:11 AM. |