[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: Sendmail ignoring MX records
From: Peter Jeremy <peterjeremy () optushome ! com ! au>
Date: 2002-12-31 23:25:33
[Download RAW message or body]
On Thu, Dec 26, 2002 at 09:57:11PM +1100, I wrote:
>One of my systems insists on trying to deliver mail directly to A
>record addresses rather than via MX records.
Thanks to everyone who responded. Turns out it was an operator error :-(.
I tried setting various trace flags and eventually found my error: At
some stage in the past, I'd created an /etc/mail/service.switch that
included "hosts files". (I now recall that I'd been unsuccessfully
trying to convince that system to never need DNS for another project.
I must have forgotten to remove my changes). Removing this file fixed
my problem.
I'm not sure why disabling DNS in /etc/mail/service.switch only
affected MX lookups and still allowed A-record lookups - but I
suspect it's due to hostname lookups using gethostbyname() which
_does_ support DNS via /etc/host.conf.
Peter
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic