From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 09:58:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2929116A402 for ; Wed, 7 Mar 2007 09:58:51 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sirian.hst.org.za (sirian.hst.org.za [209.203.2.130]) by mx1.freebsd.org (Postfix) with ESMTP id 87EC613C4A6 for ; Wed, 7 Mar 2007 09:58:49 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from localhost (localhost.hst.org.za [127.0.0.1]) by sirian.hst.org.za (Postfix) with ESMTP id 71E2031D546; Wed, 7 Mar 2007 11:54:43 +0200 (SAST) Received: from sirian.hst.org.za ([127.0.0.1]) by localhost (sirian.hst.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21617-05; Wed, 7 Mar 2007 11:54:43 +0200 (SAST) Received: from sysadmin.int.dbn.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) by sirian.hst.org.za (Postfix) with ESMTP id 3A43731D483; Wed, 7 Mar 2007 11:54:40 +0200 (SAST) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Wed, 7 Mar 2007 11:59:56 +0200 User-Agent: KMail/1.7.2 References: <7772d7120703062128v5e9e546auec83e300f741154d@mail.gmail.com> In-Reply-To: <7772d7120703062128v5e9e546auec83e300f741154d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703071159.57075.jonathan@hst.org.za> X-Virus-Scanned: by amavisd-new at hst.org.za Cc: kk kumar Subject: Re: reprocess mails in sendmail 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: Wed, 07 Mar 2007 09:58:51 -0000 On Wednesday 07 March 2007 07:28, kk kumar wrote: > Hi all, > > Do you need to include specific commands to periodically process the queue > with sendmail? With sendmail I would explicitly (via cron) rerun queue > processing every 30 minutes or so. Is there any better method to do this in > sendmail itself. The reason for this question is that some of the mails > which needs to be delivered to another mail server was not reachable and > this mail was not processed for 4 days. but when i manually flush the queue > i am able to send the mail to the RCPT mail server. Any fields i need to > change in Sendmail for solving this problem. This should be happening automatically unless you've changed the startup flags from the defaults in /etc/defaults/rc.conf. Read the manpage for rc.sendmail(8). It lists the various options available for starting sendmail. The default values for these settings are in /etc/defaults/rc.conf. Unless you've changed them in /etc/rc.conf, every set of flags contains -q30m which runs the queue every 30 minutes. Jonathan