procmail
[Top] [All Lists]

RE: Better Recipe?

2001-07-24 20:14:19

I used to have (and don't anymore) a filter that would checkout the Sender:
line for mailing lists and put the name that it found there.

It was one recipe that worked for all lists that use Sender:


It was something like this, but don't use this w/o testing it


:0fhw
* ^Sender:[     ](owner-)?$MATCH\@
|formail -I"Subject: [$MATCH] $SUBJET"


I can't remember the exact syntax to grab just the part between the "owner-"
and the "@", but that should give you the idea at least.

TjL

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

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