Im having a hell of a time with sendmail. It allows me to recieve emails from external as well as internal email addresses, it allows me to send to internal email addresses, but not external addresses. It gives me the following in the logs:
k3UBwGkk000792: to=<name@hidden.co.za>, ctladdr=<info@hidden.co.za> (507/507), delay=00:00:48, xdelay=00:00:00, mailer=local, pri=124442, dsn=2.0.0, stat=Sent
k3UBwGkk000792: to=<name@yahoo.com>, ctladdr=<info@hidden.co.za> (507/507), delay=00:01:34, xdelay=00:00:46, mailer=esmtp, pri=124442, relay=yahoo.com, dsn=5.1.2, stat=Host unknown (Name server: yahoo.com: no data known)
k3UBwGkk000792: k3UC0Lkk000794: DSN: Host unknown (Name server: yahoo.com: no data known)
Whats the problem??? I resolved yahoo with nslookup and yahoo (as expected) resolved correctly.
Update: I checked and the DNS is working, and the MX record is also correct. Only thing I can think is that sendmail is for some reason not using the DNS service correctly.
k3UBwGkk000792: to=<name@hidden.co.za>, ctladdr=<info@hidden.co.za> (507/507), delay=00:00:48, xdelay=00:00:00, mailer=local, pri=124442, dsn=2.0.0, stat=Sent
k3UBwGkk000792: to=<name@yahoo.com>, ctladdr=<info@hidden.co.za> (507/507), delay=00:01:34, xdelay=00:00:46, mailer=esmtp, pri=124442, relay=yahoo.com, dsn=5.1.2, stat=Host unknown (Name server: yahoo.com: no data known)
k3UBwGkk000792: k3UC0Lkk000794: DSN: Host unknown (Name server: yahoo.com: no data known)
Whats the problem??? I resolved yahoo with nslookup and yahoo (as expected) resolved correctly.
Update: I checked and the DNS is working, and the MX record is also correct. Only thing I can think is that sendmail is for some reason not using the DNS service correctly.