Bug 73937

Summary: can't put text in bounce message after setting LOGFILE
Product: [Fedora] Fedora Reporter: Jonathan Kamens <jik>
Component: procmailAssignee: Jaroslav Škarvada <jskarvad>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fhrdina
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-09-13 15:10:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to support LOGSENDER variable none

Description Jonathan Kamens 2002-09-13 15:09:57 UTC
With procmail 3.22, I would like to log the delivery of my mail, but I would
also like to be able to include messages in the bounces to senders that I
generate by setting ERRORCODE.

There is no easy way to do this -- once LOGFILE has been set, the stderr file
descriptor which goes back to the sender is lost, even if LOGFILE is
subsequently emptied.

The attached patch adds a new magic variable, LOGSENDER, which will generate a
message to the sender even if LOGFILE has been messed with.  To accomplish this,
opnlog has been modified to preserve the stderr file descriptor when opening a
log file.

I've also submitted this patch to bug.

Comment 1 Jonathan Kamens 2002-09-13 15:10:28 UTC
Created attachment 76045 [details]
Patch to support LOGSENDER variable

Comment 2 Trond Eivind Glomsrxd 2002-09-16 20:11:49 UTC
If added by upstream author, we'll get it from there. Adding non-standard
fucntionality specific to our packages is best avoided.

Comment 3 Jonathan Kamens 2007-03-25 06:21:18 UTC
Can I ask you to reconsider adding this to the Fedora version of procmail?  I
submitted the patch to the authors of procmail four and a half years ago, and
they haven't bothered to incorporate it into their version.  As far as I can
tell, they simply aren't maintaining it anymore.  This is useful functionality,
which I'd love to see be more widely available than just my PC :-).


Comment 4 Jonathan Kamens 2007-03-25 06:38:30 UTC
I just sent email to bug about this, and it bounced.  It seems
entirely likely that no one is minding the store anymore.  If you're going to
keep shipping a package with no upstream maintainer, methinks you ought to
consider patching it when people submit useful patches ;-).


Comment 5 Fedora Admin XMLRPC Client 2010-04-15 15:58:29 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.