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!

sendmail - relay denied

Status
Not open for further replies.

gudrun

Programmer
Jul 13, 2001
1
US
We are setting up sendmail and are
getting the message "550 5.7.1 xxx@xxx.com relaying denied" from
MS Outlook when trying
to send an e-mail extrenally.

Internal e-mails are relayed just fine
and inbound external e-mails are working
just fine. What configuration should
we be looking at?
 
joe /etc/mail/sendmail.cf

#Hosts for which relaying is permitted ($=R)
FR-o /etc/mail/relay-domains
 
Another way, and a little easier to configure and control who and what can relay/use your mail server, is by using the access_db directive when you build your .cf file.

Within the cf/cf directory of the source code, find your .mc file and add:
FEATURE(access_db)dnl
Then rebuild your .cf file.

Now you can start using /etc/mail/access file to control who can do what.

Take a look at the README and sendmail.org for exactly how to use the access file.

Hope this helps,
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top