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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help me config to allow outgoing mail?

Status
Not open for further replies.

BobMCT

IS-IT--Management
Sep 11, 2000
756
US
I'm trying to close an open relay on my mailserver. As a result I've upgraded to version 8.9.2 (the max I can until I upgrade my OS version - then on to 8.12.x).

I've modified my own .mc file and used m4 to generate my sendmail.cf file. When I start sendmail using this new .cf file incoming mail works fine but no one can send outside of our domain. Immediate the infamous RELAYING DENIED message appears. I've got the bat book (I need a newer version) and I've scoured usenet sendmail groups and this forums FAQ's and search to no avail.

Does anyone have any easy ideas as to what I need to add/change either manually in my sendmail.cf file or what feature/parameter needs to be added to my .mc file?

Thanks in advance from a frustrated sysadmin.
 
try adding the host who is trying to send the email to the /etc/mail/access file.
Something like

<your ip address> RELAY

Then restart sendmail.
Also make sure your DAEMON_PORT_OPTIONS doesnt have ip address 127.0.0.1. The ip address should be your servers ip address. This is set in the sendmail.mc file.
I hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top