4

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?

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)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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