Red Hat Bugzilla – Bug 73937
can't put text in bounce message after setting LOGFILE
Last modified: 2010-04-15 11:58:29 EDT
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
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
I've also submitted this patch to firstname.lastname@example.org.
Created attachment 76045 [details]
Patch to support LOGSENDER variable
If added by upstream author, we'll get it from there. Adding non-standard
fucntionality specific to our packages is best avoided.
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 :-).
I just sent email to email@example.com 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 ;-).
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.