sinksmtp: add support for checking whether domains in addresses resolve

This is a somewhat crude but real-MTA-like check of MX and A/AAAA records
to see if the domain of an address actually exists. We do crazy and sleazy
things to determine if DNS checks returned SERVFAIL responses so we can do
tempfails appropriately.