From owner-freebsd-questions@FreeBSD.ORG Sat Jun 19 06:29:51 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 9B44016A4CE for ; Sat, 19 Jun 2004 06:29:51 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76F7843D46 for ; Sat, 19 Jun 2004 06:29:51 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i5HJ0C0v006400; Thu, 17 Jun 2004 12:00:13 -0700 (PDT) Received: from [10.1.1.193] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0)i5HJ0BAx007538; Thu, 17 Jun 2004 12:00:12 -0700 (PDT) In-Reply-To: <20040617143919.3c0835a5.wmoran@potentialtech.com> References: <20040617143919.3c0835a5.wmoran@potentialtech.com> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8E443DE8-C090-11D8-A918-003065ABFD92@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Thu, 17 Jun 2004 15:00:10 -0400 To: Bill Moran X-Mailer: Apple Mail (2.618) 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: Sat, 19 Jun 2004 06:29:51 -0000 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". > 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.... ] -- -Chuck