Sendmail relay problem
Posted on 2003-03-08
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 email@example.com...)