aboywong
asked on
Sendmail relay problem
I've set up my box (xxx.domain1.com) with redhat 8.0 and sendmail.
I can send mail using my email client (on another machine) via the linux box connecting through imap/pop.
However, I can't send mail on the linux box (using sendmail command line)!!
When I tried sendmail with -v, I find that sendmail try to relay via another hostname, (xxx.domain2.com) (which is the previous hostname of the machine, and was hosted somewhere now).... and the relay was denied:
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
which is reasonable (since that machine (xxx.domain2.com)is not supposed to relay any mail from (xxx.domain1.com)...
I want to ask why sendmail on xxx.domain1.com will relay to xxx.domain2.com? (i am sending mail to xyz@domain3.com...)
Thx.
I can send mail using my email client (on another machine) via the linux box connecting through imap/pop.
However, I can't send mail on the linux box (using sendmail command line)!!
When I tried sendmail with -v, I find that sendmail try to relay via another hostname, (xxx.domain2.com) (which is the previous hostname of the machine, and was hosted somewhere now).... and the relay was denied:
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
which is reasonable (since that machine (xxx.domain2.com)is not supposed to relay any mail from (xxx.domain1.com)...
I want to ask why sendmail on xxx.domain1.com will relay to xxx.domain2.com? (i am sending mail to xyz@domain3.com...)
Thx.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
aboywong -
glad to have helped!
glad to have helped!
ASKER
You are right... the resolv.conf is still pointing to the old domain.... :P