From: gnuhhcoder on
On Apr 30, 2:51 pm, Andrzej Adam Filip <a...(a)onet.eu> wrote:
> CarlByington <c...(a)five-ten-sg.com> wrote:
> > On Wed, 30 Apr 2008 11:38:21 -0700, gnuhhcode wrote:
>
> >> I hit a sendmail
> >> installation today that would not deliver locally even though the domain
> >> was in the cw file due to dns. It continually attempted relayed delivery
> >> to mx defined host though the domain was listed in cw file. Is there a
> >> switch/configuration option in sendmail that allows one to prioritize mx
> >> record over cw file?
>

> > Did you restart sendmail? The cw file is only read at startup.
>
> Or when you send the sendmail daemon HUP signal:
>
> kill -HUP _sendmail-daemon-pid_
>
I restarted multiple times. I even shutdown sendmail and ensured all
sendmail proccesses had stopped to make sure nothing was left in
resident memory.


> --
> [pl>en Andrew] Andrzej Adam Filip : a...(a)priv.onet.pl : a...(a)xl.wp.pl
> Your manuscript is both good and original, but the part that is good is not
> original and the part that is original is not good.
> -- Samuel Johnson
> ----http://groups.google.com/groups/profile?user=anfi%40onet.euhttp://groups.google.com/groups?selm=k3fjzxqi78%40william.fsf.hobby-s...

Carl
From: Carl Byington on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 05 May 2008 19:59:19 -0700, gnuhhcode wrote:

> I restarted multiple times. I even shutdown sendmail and ensured all
> sendmail proccesses had stopped to make sure nothing was left in resident
> memory.

You might try strace combined with tcpdump to see all the files that
sendmail opens, and all the dns queries that it makes. I would try to
verify that it is actually opening and reading that cw file.

I am not that familiar with the various -d debug options, but there may be
one to display all the local names, including ones read from the cw file.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFIIJK+L6j7milTFsERAqTeAKCADzYa30+bD7aVeJjUnTJR/Ml1MQCfYAsy
hQMEJnTYNaXby9i0Ac5DwS4=
=7ZZ6
-----END PGP SIGNATURE-----