Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Howto allow specific domains to relay via sendmail

Status
Not open for further replies.

countrydj

ISP
Sep 27, 2002
21
GB
Hi...
I want to allow relaying through my server for specific domains.
I know I can allow ip numbers by adding:
80.80.80.80 RELAY
to my /etc/mail/access file.

I'm sure that it can be done for specific domains but my tests have failed so far.
e.g.
mydomain.com RELAY

Has anybody any ideas how to achieve this??

Thanks


John C
===================================
countrydj UK
 
you have to run the command:
makemap hash /etc/mail/access < /etc/mail/access

after editing and then restart sendmail with kill -HUP PIDof sendmail
After that, it should work. You may want to add your home IP address too, if needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top