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!

Relayin denied

Status
Not open for further replies.

dinca001

IS-IT--Management
Jul 16, 2003
1
RO
HI,

I have a LAN, a internet connection, and a server working as firewall, and mail server (RedHat Linux). Then what is my problem?
After settig up the mail server and test it from console everything went OK. But when I'm trying to send a mail from LAN, or Internet the server returns me the error:

&quot;The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'dincai_o@yahoo.com'. Subject 'test', Account: 'xxx.xxx.xxx.xxx', Server: 'xxx.xxx.xxx.xxx', Protocol: SMTP, Server Response: '550 5.7.1 <dincai_o@yahoo.com>... Relaying denied', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79&quot;

But I can receive mail from any account in LAN or Internet.


will you please help me out!!

Thank you!
 
add the following to your access file

127.0.0.1 RELAY
localhost RELAY

save it and the hash it
makemap hash /etc/mail/access.db < /etc/mail/access

restart sendmail

/etc/rc.d/init.d/sendmail restart
although in some versions this script is broken so substitute stop & start for restart)

There is no God, only 10001010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top