From owner-freebsd-questions Fri Jul 9 5:42:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from d2si.com (unknown [63.224.10.4]) by hub.freebsd.org (Postfix) with ESMTP id A3F2814E1C for ; Fri, 9 Jul 1999 05:41:59 -0700 (PDT) (envelope-from alec@d2si.com) Received: (from alec@localhost) by d2si.com (8.9.2/8.9.2) id HAA42037; Fri, 9 Jul 1999 07:38:00 -0500 (CDT) (envelope-from alec) From: Alec Kloss Message-Id: <199907091238.HAA42037@d2si.com> Subject: Re: Sendmail dial-ups and queue... In-Reply-To: from "MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com" at "Jul 9, 1999 2: 4:50 pm" To: MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com Date: Fri, 9 Jul 1999 07:37:59 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > TIA, > Michael > > > P.S. I did manage to prevent messages to root from triggering a dial out > by including root in the list of local users in sendmail.cf. Any comments > on that anybody? I'm not sure I know what I'm doing to be honest but since > I don't have a full installation I cannot go through the suggested m4 > processing, and the part of the sendmail source that's supposed to be > separately available for just this purpose (according to > http://www.freebsd.org/FAQ/FAQ137.html#137) is not, at least not from > ftp://ftp.freebsd.org/pub/FreeBSD/3.2-RELEASE/src/. If anybody could point > me to the right source I'd appreciate it. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message