From owner-freebsd-questions Fri Jul 9 5:48:33 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 BE3F014E1C for ; Fri, 9 Jul 1999 05:48:17 -0700 (PDT) (envelope-from Keith.Coles@wdr.com) Received: (from smap@localhost) by gate.ldn.wdr.com (8.8.8/8.8.8) id NAA20713; Fri, 9 Jul 1999 13:37:18 +0100 (BST) Received: from inside(192.168.0.1) by gate via smap (V2.0) id xma020579; Fri, 9 Jul 1999 13:37:09 +0100 Received: from ln4p1013pos (ln4p1013pos [172.16.232.64]) by ln4p1013pos.ldn.swissbank.com (8.8.8/8.8.8) with ESMTP id NAA11841; Fri, 9 Jul 1999 13:37:08 +0100 (BST) Date: Fri, 9 Jul 1999 13:37:07 +0100 (BST) From: Keith Coles X-Sender: colesk@ln4p1013pos To: MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail dial-ups and queue... In-Reply-To: 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 If you want to send all the messages in the queue, /usr/lib/sendmail -q. If you want to delete the messages, delete the contents of /var/spool/mqueue (or where ever the sendmail queue directory is - check sendmal.cf). Keith On Fri, 9 Jul 1999 MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com wrote: > 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). > > 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 > 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