George Theall on 6 May 2004 21:47:02 -0000 |
On Thu, May 06, 2004 at 04:43:33PM -0400, Mattison, Jacob wrote: > When I try to send an email to > jmattison@uarts.edu, it says "unrecognized host name uarts.edu". Now, I > have uarts.edu in my host file (pointing to the nameserver by IP) and I > have the nameserver in my resolv.conf file. The problem is that sendmail uses DNS to look up an MX record for uarts.edu since on one hand the standards require that MX records take precedence over A records and on the other MX records can only be found via DNS, not in /etc/hosts. One solution is to disable DNS entirely by taking "dns" out of the hosts line in /etc/nsswitch.conf, although that's pretty drastic. Another would be to fix whatever's broken with your DNS setup such that you can properly resolve target hostnames such as uarts.edu. A third would be to setup a mailertable to direct mail for one or more domains to the proper hosts regardless of MX records; eg, "uarts.edu esmtp:[msexch.uarts.edu.]", which routes messages to addresses of the form user@uarts.edu through msexch.uarts.edu using esmtp without even trying to do a lookup of uarts.edu itself. George -- theall@tifaware.com Attachment:
pgp26pbE4S7Cv.pgp
|
|