From owner-freebsd-questions Fri Jul 9 6:55:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gate.ldn.wdr.com (gate.ldn.wdr.com [193.82.179.18]) by hub.freebsd.org (Postfix) with ESMTP id 5CEFC155E2 for ; Fri, 9 Jul 1999 06:55:14 -0700 (PDT) (envelope-from Keith.Coles@wdr.com) Received: (from smap@localhost) by gate.ldn.wdr.com (8.8.8/8.8.8) id OAA07308; Fri, 9 Jul 1999 14:42:53 +0100 (BST) Received: from inside(192.168.0.1) by gate via smap (V2.0) id xma007281; Fri, 9 Jul 1999 14:42:31 +0100 Received: from ln4p1013pos (ln4p1013pos [172.16.232.64]) by ln4p1013pos.ldn.swissbank.com (8.8.8/8.8.8) with ESMTP id OAA11820; Fri, 9 Jul 1999 14:42:30 +0100 (BST) Date: Fri, 9 Jul 1999 14:42:30 +0100 (BST) From: Keith Coles X-Sender: colesk@ln4p1013pos To: Alec Kloss Cc: MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com, freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail dial-ups and queue... In-Reply-To: <199907091238.HAA42037@d2si.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-WDR-Disclaimer: Version $Revision: 1.13 $ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 9 Jul 1999, Alec Kloss wrote: > MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com said: > > Yesterday I was finally ready to tackle the problem of sendmail dialing my > > provider every now and then: for missed cron jobs, daily reports, weekly > > reports etc. > > Really an ehaustive topic, given the messages this has generated over > > time. I now disabled sendmail until I really need it but in doing so I > > came across the question how to flush the sendmail queue. Man sendmail did > > not indicate anything to that effect (or I was temporarily blind). > > You process the queue using sendmail -q. You should be able to get > sendmail to queue the mail and defer delivery using the > DeliveryMode=q option. This may be enough to prevent dial-outs; the > only thing that I can think of that would still cause one is a DNS lookup > that sendmail might perform while queueing the message. I do not know > that sendmail does perform a DNS lookup, but that would be the next thing > I'd check after setting DeliveryMode=q. Sendmail may actually do several DNS lookups, to get MX records and corresponding A records. It may also do lookups for name canonicalisation. This will all depend on the settings in resolv.conf nsswitch.conf and sendmail.cf. [snip].. Keith This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message