Dear group,
Recently, I have noticed that sendmail is appending my domain name "domain.com" to the end of any unresolveable lookups.
For example, if sending a message to `foo@nonexistant.nowhere.c
om', once sendmail notices that this domain name is unresolveable, it will append `domain.com', to end up with: `foo@nonexistant.nowhere.c
om.domain.
com'.
For various reasons that don't need explaining at this point, I have a wildcard DNS record for my domain, so that web traffic to *.domain.com wil be accepted.
I have also removed the `search domain.com' entry in my resolv.conf file, but the behaviour still manifests itself. For example:
> /usr/lib/sendmail -d8.20 -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> /canon nonexistant.nowhere.com
dns_getcanonname(nonexista
nt.nowhere
.com, trymx=0)
dns_getcanonname: trying nonexistant.nowhere.com. (ANY)
NO: errno=0, h_errno=1
dns_getcanonname: trying nonexistant.nowhere.com.do
main.com (ANY)
YES
dns_getcanonname: nonexistant.nowhere.com.do
main.com
getcanonname(nonexistant.n
owhere.com
) returns nonexistant.nowhere.com.do
main.com
Any ideas as to how I should fix this?
- Tonyboy
Start Free Trial