On Mon, 28 Jul 2008, Dallman Ross wrote:
Can in some way, change the To header to the same value of
X-Recipient header before other rules be read in the procmailrc ?
Okay, as to your question, I will preface this by saying that I don't
have an X-Recipient header in my mail. I suppose your server is
attaching it? I have an X-Original-To header....
:0 fw h
| formail -iFrom: -RX-Recipient From
Uh, why are we suddenly munging the 'From' header when the original
request was about the TO header? Of course, to change the 'To:' header
follows the same logic.
Now I have to question *why* someone would want to play with the "To:"
header at all? Could it be that OP is trying to deal with cases of
'undisclosed recipient" (Bcc usage)? If that is the case, or other
obfuscation of "To:" is occurring, perhaps it would be better to encode
recipes to use the 'X-Recipient' header directly?
My 0.02 dollars....
- Charles
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail