On 24-Jan-2009, at 17:35, Xavier Maillard wrote:
I am struggling with something really simple: have multiple
"match" from a single rule.
Not possible. You do two recipes to get two matches, or you muck
about with an external command.
For example:
:0 h
CLEANFROM=|formail -IReply-To: -rtzxTo:
# username portion
:0
* CLEANFROM ?? ^\/[^(_at_)]+
{ FROM_USER=$MATCH }
# domain portion
:0
* CLEANFROM ?? @\/.*
{ FROM_DOMAIN=$MATCH }
--
Passion is the pill you can swallow forever Taking them one by one
One by One --Agents of Good Roots "Come On"
____________________________________________________________
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