From owner-freebsd-questions@FreeBSD.ORG Fri Jun 18 13:58:12 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 3AA7C16A4CE for ; Fri, 18 Jun 2004 13:58:12 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03F7543D53 for ; Fri, 18 Jun 2004 13:58:12 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id A01A969A39; Fri, 18 Jun 2004 09:57:24 -0400 (EDT) Date: Fri, 18 Jun 2004 09:57:22 -0400 From: Bill Moran To: Charles Swiger Message-Id: <20040618095722.02ff5a1a.wmoran@potentialtech.com> In-Reply-To: <8E443DE8-C090-11D8-A918-003065ABFD92@mac.com> References: <20040617143919.3c0835a5.wmoran@potentialtech.com> <8E443DE8-C090-11D8-A918-003065ABFD92@mac.com> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Sendmail and /var/spool/mqueue 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: Fri, 18 Jun 2004 13:58:12 -0000 Charles Swiger wrote: > On Jun 17, 2004, at 2:39 PM, Bill Moran wrote: > > What does it mean when I have a lot of files in /var/spool/mqueue? I > > don't > > really understand what that particular queue is for. > > That is the queue of unsent messages which sendmail will periodicly > attempt to resend (every four hours, by default). You can try to flush > them via "sendmail -v -q". I appreciate the input, Chuck, but now I'm more confused. When I did this, folks suddenly started receiving emails from two years ago. I'm a bit confused as to _why_ sendmail would hang on to mails from years ago without either delivering them or bouncing them? Could the queue have been corrupt? Caused quite a stir, actually ... folks were getting order requests from a year ago. > > This client is not having any problems getting/sending mail, and the > > mailq > > command only shows one mail in the queue, but I have 3867 files in this > > directory. > > Hmm. Sendmail tends to accumulate spam-related bounces which can't be > delivered because the spam used forged headers, and I've seen some > signs that sendmail doesn't always manage to clean up the queue files > of such messages after they can't be delivered for 5 days. > > [ I seem to recall that the sendmail operations guide recommends moving > mqueue to oqueue, creating a new mqueue, and then processing the oqueue > by hand. Once that is completed, delete oqueue and any leftover > files.... ] I think this is a good argument for Postfix ... -- Bill Moran Potential Technologies http://www.potentialtech.com