From owner-freebsd-questions@FreeBSD.ORG Tue Mar 23 09:58:24 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 6E25416A4CE for ; Tue, 23 Mar 2004 09:58:24 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A976043D1D for ; Tue, 23 Mar 2004 09:58:23 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i2NHwAH2003222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Mar 2004 17:58:10 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i2NHwASY003221; Tue, 23 Mar 2004 17:58:10 GMT (envelope-from matthew) Date: Tue, 23 Mar 2004 17:58:10 +0000 From: Matthew Seaman To: JJB Message-ID: <20040323175810.GE973@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , JJB , "freebsd-questions@FreeBSD. ORG" References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7LkOrbQMr4cezO2T" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040316, clamav-milter version 0.67l cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: Sendmail deferred email? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 17:58:24 -0000 --7LkOrbQMr4cezO2T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 for the clientmqueue stuff. (-v means verbose -- you can omit that, but it's kind of amusing to watch) =20 > 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 --=20 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 --7LkOrbQMr4cezO2T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYHqydtESqEQa7a0RAo0cAJ9fBCvAvOwYbxP0T2zODvu/VLmRdgCfWAEm jv/83dPcYb/H5MutPgpU4Kk= =beQN -----END PGP SIGNATURE----- --7LkOrbQMr4cezO2T--