Link to home
Start Free TrialLog in
Avatar of aboywong
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.

ASKER CERTIFIED SOLUTION
Avatar of periwinkle
periwinkle
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aboywong
aboywong

ASKER

Thx...

You are right... the resolv.conf is still pointing to the old domain.... :P

aboywong -

glad to have helped!