From owner-freebsd-questions@FreeBSD.ORG Tue Mar 23 10:27:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D196516A4CE for ; Tue, 23 Mar 2004 10:27:55 -0800 (PST) Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EBB943D48 for ; Tue, 23 Mar 2004 10:27:55 -0800 (PST) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta13.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040323182755.KAZS2142.mta13.adelphia.net@barbish>; Tue, 23 Mar 2004 13:27:55 -0500 From: "JJB" To: "Matthew Seaman" Date: Tue, 23 Mar 2004 13:27:54 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20040323175810.GE973@happy-idiot-talk.infracaninophile.co.uk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: "freebsd-questions@FreeBSD. ORG" Subject: RE: Sendmail deferred email? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 18:27:56 -0000 Did sendmail -q -v and mailq The 15 deferred emails are still there deferred. So let me change my question from Is there a way to clear this email from sendmail? To Is there a way to FORCE DELETE this deferred email from sendmail? -----Original Message----- From: Matthew Seaman [mailto:m.seaman@infracaninophile.co.uk] Sent: Tuesday, March 23, 2004 12:58 PM To: JJB Cc: freebsd-questions@FreeBSD. ORG Subject: Re: Sendmail deferred email? On Tue, Mar 23, 2004 at 12:46:32PM -0500, JJB wrote: > I see in mail log some deferred email being held. > Is there a way to clear this email from sendmail? You can process the mail queue manually by: # /usr/sbin/sendmail -q -v or # /usr/sbin/sendmail -Ac -q -v for the clientmqueue stuff. (-v means verbose -- you can omit that, but it's kind of amusing to watch) > Maybe so sendmail sub command? If your mail system is set up correctly, there should be a process that runs regularly (every 30min is usual) to flush the queue. If you: # cat /var/run/sendmail.pid or # cat /var/spool/clientmqueue/sm-client.pid the second line shows the arguments used to startup sendmail. There should be something like '-q30m' in there. Messages can get stuck in the mail queue for valid reasons -- destination site is down, DNS fubarred, loss of network connectivity etc. Use: # mailq -v or # mailq -Ac -v to see the status of all messages in the mail queue or the client mail queue. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK