procmail
[Top] [All Lists]

Re: procmail X-Recipient:

2008-07-28 13:13:45
On 28-Jul-2008, at 11:58, josias gonçalves wrote:
Hi, is my first time here in the forum and my question is about X- Recipient
header.

That's a none standard header that will not necessarily exist in all emails.

Can in some way, change the To header to the same value of X- Recipient
header before other rules be read in the procmailrc ?

CAN you?  Yes.

:0
* ^X-Recipient:[  ]+\/.*
{ XREC=$MATCH }

you would then use formail to rewrite the To: header.

I do not recommend this, so I'll leave that portion as an exercise for you.

--
Badges? We ain't got no badges. We don't need no badges. I don't
        have t show you any stinking badges.


____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>