From: Conor Daly (conor.daly at domain met.ie)
Date: Mon 24 Jul 2000 - 11:58:40 IST
From: Conor Daly <conor.daly at domain oceanfree.net>
To: irish linux users group <ilug at domain linux.ie>
Date: 18 July 2000 16:56
Subject: Re: [ILUG] That sendmail queuing thing again (Config files posted)
>On Mon, Jul 17, 2000 at 08:08:37PM +0100 or so it is rumoured hereabouts,
> kevin lyda thought...
>> On Mon, Jul 17, 2000 at 07:21:44PM +0100, Conor Daly wrote:
>> > The only sendmail references in my mutt configuration are listed below.
>> > "sendmail_wait=-1" is supposed to return control to mutt without
>> > sendmail to finish processing and no other sendmail stuff exists in
>> > /etc/Muttrc or in ~/.muttrc
>> sendmail = "/usr/lib/sendmail -oi -oem -O DeliveryMode=d"
>> what does that do for you?
>IIRC I had set "DeliveryMode=deferred" in my sendmail.cf and I found that
>local mail wasn't delivered either. And I _think_ there were a few
>of DNS lookups even then. I'm about to try "DeliveryMode=q" in /etc/Muttrc
>followed by DeliveryMode=d to see if that makes a difference for mutt. I
>no problems queuing mail with either Netscape under RH and with OE 4 under
>Windows so I presume it's either a mutt problem or a more basic problem
>only mutt is showing up.
>This was sent with the DeliveryMode=q in /etc/Muttrc while the machine was
>Conor Daly <conor.daly at domain oceanfree.net>
>Domestic Sysadmin :-)
Got it sorted!!
It seems sendmail uses the /etc/nsswitch.conf to decide what sort of lookups
to do, even with
FEATURE(nocanonify) set. I copied /etc/nsswitch.conf to /etc/service.switch
and set the "ServiceSwitchFile" to point to that in sendmail.cf (Any idea
how to set that in sendmail.mc?).
I edited /etc/service.switch and removed everything except "hosts" and
"aliases" and deleted "dns" from the "hosts" line and it all works nicely
I *didn't* edit the line in /etc/nsswitch for the following reason..
The "hosts" line in the /etc/nsswitch.conf is used by more than sendmail.
If you want DNS lookups to occur for other tasks, it is worthwhile copying
/etc/nsswitch.conf to /etc/service.switch , removing all entries apart from
the "hosts" and "aliases" and telling sendmail to use /etc/service.switch
Thanks for all the advice.
-- Conor Daly ------------------------------------- conor.daly at domain met.ie -------------------------------------
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:57 GMT