hi, i just have installed sendmail, squirelmail over RedHat Enterprise
2.1,,,
the email works perfectly qhen i use squirrelmail (web)to send
receive.. but i tried to use Outlook (my users lito to >use outlook)
.the problem is that i can receive mail form my.domain.com and from
yahoo,hotmail,etc, from anywhere. >But i only can send Mail to mail
account from my.domai.com, whe i tried to send mail to
another.domain.com (for >example) outlook send back to me the next
message>:
" The message could not be sent because one of the recipients was
rejected by the server. The rejected e-mail address >was
'tonnycar yahoo com'. Subject 'fgd', Account: 'mail.stj.gob.mx', Server:
'148.235.57.178', Protocol: SMTP, Server >Response: '550 5.7.1
<tonnycar yahoo com>... Relaying denied. IP name lookup failed
[148.235.57.185]', Port: 25, >Secure(SSL): No, Server Error: 550, Error
Number: 0x800CCC79"
I edit the sendmail.cf file on the line:
# SMTP daemon options
O DaemonPortOptions=Name=MTA, Addr=Ip.Address.myserver
Your missing the port= section.
O DaemonPortOptions=Port=587, Name=MSA, M=E
I believe you should just have a line like this,
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
Unless you're using message submission authentication (MSA) you wouldn't
need the second line.
also edit the access file..
permit Relay from all my networks.
Did you recompile the access database?
makemap hash /etc/mail/access.db < /etc/mail/access
According to your error message you would need to have an entry like
this in your access file;
148.235.57.185 RELAY
To relay the whole network
148.235.57 RELAY
BTW, these are public IP's so I wouldn't relay the whole range just the
specific address your sending from.