Ages ago, you all were kind enough to give me a nifty recipe stanza to
sort multiple lists from the same domain:
(other beginning .procmailrc stuff)
LISTS='(List1|List2)'
(stanzas...)
:0
*$ ^TO_(.*\<)?\/$LISTS@($HOSTCLASS[.])*(domain|altdomain)[.]org\>
* MATCH ?? ^^\/[^(_at_)]+
*$ LISTS ?? ()[(|]\/$\MATCH[|)]
* MATCH ?? ^^\/[^|)]+
{
LOG = "($MATCH Mailing List)$NL"
:0A
.ListHost.$MATCH/
}
(more stanzas...)
My question here is...
I'd like to expand $LISTS to be:
LISTS='((List1|List2)(-request))'
This doesn't work.. neither does '(List1|List2)(-request)'
I've also tried modding the recipe, which also doesn't work:
*$ ^TO_(.*\<)?\/$LISTS(-request)@($HOSTCLASS[.])*(domain|altdomain)[.]org\>
What on Earth am I missing here? I'm feeling quite.. well.. stupid.
Thanks in advance!
Best,
--Glenn
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
~Benjamin Franklin, Historical Review of Pennsylvania, 1759
____________________________________________________________
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