I have setup sendmail version:
No mail for root
noobian:/home/kevin# /usr/sbin/sendmail -d0.4 -bv root
I can send mail to my ISP email account from the debian box, but when I fire up outlook express, and try and send mail using my debian box, I get the following error:
The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'Altern8@ntlworld.com'. Subject '', Account: 'Testaccount', Server: '192.168.20.1', Protocol: SMTP, Server Response: '550 5.7.1 <Altern8@ntlworld.com>... Relaying denied. IP name lookup failed [192.168.20.2]', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79
(192.168.20.1=ip address on my eth1)
(192.168.20.2=ip address on my windows box)
Can anyone help me fix this problem?
You need to allow relaying of mail from your user (or that ip-address...)
add the following
and restart the mail server (service sendmail restart if you run RedHat...)
I'm not a 100% on the syntax in the file but look at the docs if unsure..