procmail
[Top] [All Lists]

Re: Nested recipes... (sorry if this is sent twice.. )

2005-01-24 11:46:00
Ruud H.G. van Tol said the following on 1/24/2005 10:50 AM:

Yes, that is what I meant with "the right casing".
(non-proper casing, etc.)

This is a little bit safer:

  *$ MYBSDLISTS ?? ()[(|]\/$\MATCH[|)]
Thanks for all of this, Ruud and Dallman! :)) I'm now in the process of condensing my .procmailrc file, and so far have done so by about 200 lines! This whole procedure has really made it easier for me to see how procmail sees things and how to make it easier to filter my email!

I use a slightly different approach, that allows grouping of
messages:

 [...]

 LIST2BOX = '
advocacy:meta
announce:tech
chat:misc
etc:etc'

 :0A
 *$ LIST2BOX ?? ^[$WSP]*$\MATCH:\/[^$WSP]+
 .FreeBSD.$MATCH/
 :0E
 .FreeBSD.misc/
I am curious, what is the significance of the : operator in $LIST2BOX?

In stead of the ':' one could also use '@', and that '@'
could be the one from the List-Post-header.
*nod* cool idea! :)

Thanks again, guys!! :)

Best,
--G.

--
"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