From nobody@www.freebsd.org  Sun May 26 12:02:46 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 230F437B405
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 May 2002 12:02:46 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4QJ2chG004310
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 May 2002 12:02:38 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4QJ2buB004309;
	Sun, 26 May 2002 12:02:37 -0700 (PDT)
Message-Id: <200205261902.g4QJ2buB004309@www.freebsd.org>
Date: Sun, 26 May 2002 12:02:37 -0700 (PDT)
From: Pat Lashley <patl+freebsd@phoenix.volant.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: daily/440.status-mailq uses sendmail-specific '-Ac' parameter
X-Send-Pr-Version: www-1.0

>Number:         38579
>Category:       misc
>Synopsis:       daily/440.status-mailq uses sendmail-specific '-Ac' parameter
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    keramida
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 26 12:10:02 PDT 2002
>Closed-Date:    Tue May 28 16:26:17 PDT 2002
>Last-Modified:  Tue May 28 16:26:17 PDT 2002
>Originator:     Pat Lashley
>Release:        4.6-RC
>Organization:
>Environment:
>Description:
The mailwrapper system makes it easy to substitute alternate MTAs for
sendmail under most circumstances; but the 440.status-mailq script in
/etc/periodic/daily uses the sendmail-specific '-Ac' flag to mailq.

>How-To-Repeat:
Install the exim-imapd port.
Set up mailer.conf to refer to the exim binary instead of sendmail.
Run the daily periodic script.
>Fix:
I think the best solution would be to make the mailq parameters come
from a shell variable that can be overridden in /etc/periodic.conf.
>Release-Note:
>Audit-Trail:

From: Giorgos Keramidas <keramida@FreeBSD.ORG>
To: Pat Lashley <patl+freebsd@phoenix.volant.org>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: misc/38579: daily/440.status-mailq uses sendmail-specific '-Ac' parameter
Date: Mon, 27 May 2002 04:18:51 +0300

 On 2002-05-26 12:02, Pat Lashley wrote:
 > The mailwrapper system makes it easy to substitute alternate MTAs
 > for sendmail under most circumstances; but the 440.status-mailq
 > script in /etc/periodic/daily uses the sendmail-specific '-Ac' flag
 > to mailq.
 >
 > Install the exim-imapd port.  Set up mailer.conf to refer to the
 > exim binary instead of sendmail.  Run the daily periodic script.
 >
 > I think the best solution would be to make the mailq parameters come
 > from a shell variable that can be overridden in /etc/periodic.conf.
 
 Or just add something like mailq-local to mailer.conf like this?
 
 	mailq-local		/usr/libexec/sendmail/sendmail -q -Ac
 
 Then mailq-local can be called by 440.status-mailq ;-)
 
 - Giorgos
 

From: Ceri Davies <ceri@FreeBSD.org>
To: Giorgos Keramidas <keramida@FreeBSD.ORG>
Cc: freebsd-gnats-submit@FreeBSD.org, sheldonh@FreeBSD.org,
	Pat Lashley <patl+freebsd@phoenix.volant.org>
Subject: Re: misc/38579: daily/440.status-mailq uses sendmail-specific '-Ac' parameter
Date: Mon, 27 May 2002 18:01:30 +0100

 On Sun, May 26, 2002 at 07:10:03PM -0700, Giorgos Keramidas wrote:
 >  On 2002-05-26 12:02, Pat Lashley wrote:
 >  > The mailwrapper system makes it easy to substitute alternate MTAs
 >  > for sendmail under most circumstances; but the 440.status-mailq
 >  > script in /etc/periodic/daily uses the sendmail-specific '-Ac' flag
 >  > to mailq.
 >  
 >  Or just add something like mailq-local to mailer.conf like this?
 >  
 >  	mailq-local		/usr/libexec/sendmail/sendmail -q -Ac
 >  
 >  Then mailq-local can be called by 440.status-mailq ;-)
 
 That's one way of doing it.
 However, to my knowledge, exim has no concept of a "submit" queue, things are
 either on the queue or they aren't (I'mm cc'ing sheldonh as I'm pretty sure he
 will know).
 
 Therefore, use this little knob :
 
 {setantae@rhadamanth}-{~} $ grep mail /etc/periodic.conf 
 daily_status_include_submit_mailq="NO"                  # 
 
 Ceri
 
 -- 
 get the cool shoe shine

From: Pat Lashley <patl+freebsd@phoenix.volant.org>
To: Ceri Davies <ceri@FreeBSD.org>,
	Giorgos Keramidas <keramida@FreeBSD.ORG>
Cc: freebsd-gnats-submit@FreeBSD.org, sheldonh@FreeBSD.org
Subject: Re: misc/38579: daily/440.status-mailq uses sendmail-specific '-Ac'
 parameter
Date: Mon, 27 May 2002 12:46:04 -0700

 --==========3782522778==========
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 --On Monday, May 27, 2002 06:01:30 PM +0100 Ceri Davies <ceri@FreeBSD.org>=20
 wrote:
 
 > On Sun, May 26, 2002 at 07:10:03PM -0700, Giorgos Keramidas wrote:
 >>  On 2002-05-26 12:02, Pat Lashley wrote:
 >>  > The mailwrapper system makes it easy to substitute alternate MTAs
 >>  > for sendmail under most circumstances; but the 440.status-mailq
 >>  > script in /etc/periodic/daily uses the sendmail-specific '-Ac' flag
 >>  > to mailq.
 >>
 >>  ...
 >
 > That's one way of doing it.
 > However, to my knowledge, exim has no concept of a "submit" queue, things
 > are either on the queue or they aren't (I'mm cc'ing sheldonh as I'm
 > pretty sure he will know).
 >
 > Therefore, use this little knob :
 >
 > {setantae@rhadamanth}-{~} $ grep mail /etc/periodic.conf
 > daily_status_include_submit_mailq=3D"NO"                  #
 
 Arrrggghhh!  Yes, that will work perfectly.  I really don't know how I
 missed seeing it.
 
 This RFE can be closed.
 
 
 
 Thanks,
 -Pat
 --==========3782522778==========
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE88oz9ncYNbLD8wuMRAp/mAKDZrxBdwxt1d5+UCky5Dbra0OIUBQCfXR4+
 koqYE17sKSRPlu4m3VoKndw=
 =RWpq
 -----END PGP SIGNATURE-----
 
 --==========3782522778==========--
 
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Tue May 28 16:25:07 PDT 2002 
State-Changed-Why:  
Submitter says this can be closed, after Ceri noted that the 
clientmqueue part can be configured to not run at all. 


Responsible-Changed-From-To: freebsd-bugs->keramida 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Tue May 28 16:25:07 PDT 2002 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=38579 
>Unformatted:
