Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I set the domain in resolv.conf to one domain (say test1.co.uk), I can send emails through my mail relay.

If I change the domain to a different domain (say test2.co.uk), then sendmail fails. I can send emails through telnet manually though.

Any ideas?

share|improve this question
You have to at least provide us with the failure logs –  adamo Aug 22 '12 at 10:16
total novice...sorry. Where would the logs be? –  neildeadman Aug 22 '12 at 10:34
/var/log/maillog, /var/adm/maillog or the like. –  adamo Aug 22 '12 at 13:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.