From owner-freebsd-questions@FreeBSD.ORG Fri Mar 31 19:51:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 AC0FA16A420 for ; Fri, 31 Mar 2006 19:51:10 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A3143D48 for ; Fri, 31 Mar 2006 19:51:09 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 65-78-24-141.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([65.78.24.141]) by smtp01.mrf.mail.rcn.net with ESMTP; 31 Mar 2006 14:51:09 -0500 X-IronPort-AV: i="4.03,151,1141621200"; d="scan'208"; a="191793067:sNHT26153138" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17453.34776.348219.634831@jerusalem.litteratus.org> Date: Fri, 31 Mar 2006 14:49:44 -0500 To: "'freebsd-questions@freebsd.org'" In-Reply-To: <20060331192419.83050.qmail@web52706.mail.yahoo.com> References: <442D7E80.4010004@simplenet.com> <20060331192419.83050.qmail@web52706.mail.yahoo.com> X-Mailer: VM 7.17 under 21.5 (beta25) "eggplant" XEmacs Lucid Subject: Re: Reprocessing sendmail failed messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 19:51:10 -0000 Kris Anderson writes: > Found this with google. > http://lists.freebsd.org/pipermail/freebsd-questions/2004-June/049850.html > > A Dr Matthew had this answer (read full text to see what's up but > here's a snippet) > > If you end up with a load of messages stuck in > /var/spool/clientmqueue, you've got a similar problem with not > running a MSP queue daemon. The case is exactly analogous, > except that the sendmail flags are in > /var/spool/clientmqueue/sm-client.pid and should read: > > /usr/sbin/sendmail -L sm-msp-queue -Ac -q30m > > and you need to set 'sendmail_msp_queue_flags' in /etc/rc.conf to > override them. Or: 1) cd /etc/mail 2) make stop 3) make start 4) ps -ax | grep sendm and you should see something like: 1153 ?? Ss 0:14.88 sendmail: accepting connections (sendmail) 1156 ?? IWs 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/client 15854 p6 S+ 0:00.01 grep sendm This method uses the same scripts invoked at boot, and will automatically read the various "sendmail_" variables out of rc.conf. Robert Huff