procmail
[Top] [All Lists]

Re: Procmail suggestion for ! recipe action

1995-12-18 12:00:07
srb(_at_)cuci(_dot_)nl (Stephen R. van den Berg) said:

SRvdB> Sten Drescher <stend(_at_)cris(_dot_)com> wrote:
Suggestion> Put rfc822 Resent-From:/Resent-To: headers in mail
that is forwarded using ! actions:

rather than the original one), but so long as procmail forwards the
message entirely unaltered, I have to explicitly add the headers with
formail rather than simply !ing it.

SRvdB> Sorry, but this is not going to change.

SRvdB> 1. This is a non-trivial operation to be done by procmail itself
SRvdB> (code bloat alert).

        Then remove the non-compliant forwarding entirely, that should
reduce code bloat.

SRvdB> 2. It is a trivial operation for formail.

        So?

SRvdB> 3. If you want the Resent-* fields, adding them with formail *is*
SRvdB> the cookbook way of doing it (i.e. it is not considered to be
SRvdB> ugly or awkward or anything, just normal).

        Sorry, but if you want to be a mail agent, you should follow the
standard.  If code bloat is your concern, remove ! entirely.  Otherwise,
do it the proper way.  In for a penny, in for a pound.

-- 
#include <disclaimer.h>                         /* Sten Drescher */
To get my PGP public key, send me email with your public key and
        Subject: PGP key exchange
Key fingerprint =  90 5F 1D FD A6 7C 84 5E  A9 D3 90 16 B2 44 C4 F3