Hi, I have an AIX system running 5300-12-05. I'm trying to set up sendmail to forward all mails to a mail-relay host and have the following defined in /etc/mail/sendmail.cf:
DS[xxx.xxx.xxx.xxx]
When I try to do a sendmail -v myaddress@mydomain.com I get:
mydomain.com: Name server timeout
kbaker@sccis.net... Transient parse error -- message queued for future delivery
After this, sendmail sends it to localhost.
I am fairly certain this is down to MX record lookup for mydomain failing. I've seen it before on Redhat and fixed it by creating the /etc/mail/service.switch and re-compiling the sendmail.mc file. This file told sendmail to ignore DNS and not try and look up the MX record. But this doesn't work on AIX and the problem still persists. I've got /etc/netsvc.conf set to "hosts = local,bind4" but this doesn't help either.
I'm guessing it's something really simple but it's completely escaping me and causing me to bang my head against a brick wall.
DS[xxx.xxx.xxx.xxx]
When I try to do a sendmail -v myaddress@mydomain.com I get:
mydomain.com: Name server timeout
kbaker@sccis.net... Transient parse error -- message queued for future delivery
After this, sendmail sends it to localhost.
I am fairly certain this is down to MX record lookup for mydomain failing. I've seen it before on Redhat and fixed it by creating the /etc/mail/service.switch and re-compiling the sendmail.mc file. This file told sendmail to ignore DNS and not try and look up the MX record. But this doesn't work on AIX and the problem still persists. I've got /etc/netsvc.conf set to "hosts = local,bind4" but this doesn't help either.
I'm guessing it's something really simple but it's completely escaping me and causing me to bang my head against a brick wall.