Birl asked,
I know Im doing something dumb, but I cant figure out what:
Given these 2 similiar receipes:
:0:
* @\/[^(_at_)]+mail\(_dot_)com
.SPAM/$MATCHmail.com
:0:
* @\/[^(_at_)]+mail\(_dot_)net
.SPAM/$MATCHmail.net
Charles had the right explanation ($MATCHmail is a variable in its own
right, which you've not set), and moreover it will include the
"mail.com" or "mail.net" when it extracts. So while this is the way to
get the value of $MATCH and the static string "mail" next to each other,
:0:
* @\/[^(_at_)]+mail\(_dot_)com
.SPAM/${MATCH}mail.com
:0:
* @\/[^(_at_)]+mail\(_dot_)net
.SPAM/${MATCH}mail.net
this will get what I believe you actually want:
:0:
* @\/[^(_at_)]+mail\(_dot_)(com|net)
.SPAM/$MATCH
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail