Bug 73937 - can't put text in bounce message after setting LOGFILE
Summary: can't put text in bounce message after setting LOGFILE
Alias: None
Product: Fedora
Classification: Fedora
Component: procmail   
(Show other bugs)
Version: rawhide
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
Keywords: FutureFeature, Reopened
Depends On:
TreeView+ depends on / blocked
Reported: 2002-09-13 15:09 UTC by Jonathan Kamens
Modified: 2010-04-15 15:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-09-13 15:10:34 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to support LOGSENDER variable (2.68 KB, patch)
2002-09-13 15:10 UTC, Jonathan Kamens
no flags Details | Diff

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@procmail.org.

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@procmail.org 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.

Note You need to log in before you can comment on or make changes to this bug.