procmail
[Top] [All Lists]

Re: Is the proper behavior? (Did I miss?)

2004-01-27 10:58:44

Tuc asked about preserving the From_ header when forwarding:

So is there some way I should handle it differently so that it 
DOESN'T end up modified via sendmail? I need to pass it off with 
the From_ intact.

Depends on the MTA, but something like this might work:

:0c
* ^^From \/.+
! -f "$MATCH" tuc(_at_)laptop(_dot_)ttsg(_dot_)com

        Its too greedy, I get the date and all that. Is there a way to
put a \/ on the other side of the first space or something? I STFW and didn't
see anyone that parsed out PART of a piece using \/, is it possible?

                Thanks, Tuc/TTSG Internet Services, Inc.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail