From nobody@FreeBSD.org  Fri Mar 29 03:58:57 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E8A7237B41B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 29 Mar 2002 03:58:56 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g2TBwrR92518;
	Fri, 29 Mar 2002 03:58:53 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200203291158.g2TBwrR92518@freefall.freebsd.org>
Date: Fri, 29 Mar 2002 03:58:53 -0800 (PST)
From: "Andrew E. Filonov" <aef@btfoms.bryansk.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mailwrapper doesn't handle rmail calls
X-Send-Pr-Version: www-1.0

>Number:         36477
>Category:       bin
>Synopsis:       mailwrapper doesn't handle rmail calls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 29 04:00:10 PST 2002
>Closed-Date:    Tue Jun 12 04:55:49 GMT 2007
>Last-Modified:  Tue Jun 12 04:55:49 GMT 2007
>Originator:     Andrew E. Filonov
>Release:        4.5-STABLE
>Organization:
BTFOMS
>Environment:
FreeBSD aef 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 21 17:22:13 MSK 2002     aef@aef:/usr/obj/mnt/ns/system/src/sys/KERNEL  i386
 
>Description:
/bin/rmail use '-p' flag for sendmail. This flags don't work with exim (and may be some others MTA).
>How-To-Repeat:
      
>Fix:
mv /bin/rmail to /usr/libexec/sendmail/rmail
ln -s /usr/sbin/mailwrapper /bin/rmail
echo "rmail /usr/libexec/sendmail/rmail" >> /etc/mail/mailer.conf

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Apr 23 18:29:46 PDT 2002 
Responsible-Changed-Why:  
Over to our mail stuff maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36477 
State-Changed-From-To: open->feedback 
State-Changed-By: gshapiro 
State-Changed-When: Mon Jul 1 23:22:37 PDT 2002 
State-Changed-Why:  
mailwrapper is supposed to hide the mail infrastructure from the calling 
programs such as mutt, pine, elm, mail, cron, lpd, *and* rmail.  It's 
not meant to wrap the programs which call sendmail.  How would wrapping 
rmail solve the way it is called? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36477 

From: Andrew Filonov <aef@antar.bryansk.ru>
To: freebsd-gnats-submit@FreeBSD.org, aef@btfoms.bryansk.ru
Cc:  
Subject: Re: bin/36477: mailwrapper doesn't handle rmail calls
Date: Fri, 16 Aug 2002 11:17:16 +0400

 rmail _also_ part of mail infrastructure.
 It's a part of sendmail sources.
 Exim's rmail subsystem - part of exim, etc.
 
 rmail can be simple wrapped - without any modification of his parameters.
 

From: netch@netch.kiev.ua
To: freebsd-gnats-submit@FreeBSD.org, aef@btfoms.bryansk.ru
Cc: gshapiro@freebsd.org
Subject: Re: bin/36477: mailwrapper doesn't handle rmail calls
Date: Mon, 10 Nov 2003 09:47:30 +0200 (EET)

 I agree with idea that rmail is also part of sendmail infrastructure,
 in spite of it is commonly used with UUCP. I use it not only for UUCP,
 but even for remailing from mbox format, instead of formail -f -I"From " |
 sendmail -oi.
 Rmail's functionality isn't highly bounded to UUCP, except understanding
 of "remote from another_system" and concatenating a few From_'s to one
 single line. MTA specifics isn't less than UUCP specifics, one can see it
 on example of old rmail, with its -oMr and -oMs (and, in attraction to
 current PR, which is understanded by exim, instead of -p)
 So, I join to AEF's request.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: gshapiro 
State-Changed-When: Tue Jun 12 04:53:21 UTC 2007 
State-Changed-Why:  
I'm afraid I don't agree and I am not interested in modifying mailwrapper 
to handle client programs.  If anyone else wants to maintain mailwrapper 
and convert it to a general purpose mail program wrapper, feel free to 
take this ticket. 

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