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.

I've recently setup a new backup server and have configured sendmail with a smart_relay_host

Except every email from the command line doesn't go anywhere. From mail.log:

Oct 3 14:32:52 **back01 sm-mta[16570]: p93DWqtC016568: to=<.@.com>, ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120762, relay=10.2.30.60, dsn=5.1.2, stat=Host unknown (Name server: 10.2.30.60: host not found) Oct 3 14:32:52 ***back01 sm-mta[16570]: p93DWqtC016568: p93DWqtC016570: DSN: Host unknown (Name server: 10.2.30.60: host not found)

DNS is working correctly on this box. I can do forward and reverse lookups.

I can also telnet to the mail relay and send a message that way.

I'm stumped, any suggestions?

share|improve this question

1 Answer 1

Name server: 10.2.30.60: host not found tell me, what this NS (10.2.30.60) can't resolve name for your smart-relay, isn't it? Just try to resolve host from SMART_HOST definition (and connect to it later)

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.