procmail
[Top] [All Lists]

Re: List sort

2001-03-06 12:57:54
On  6 Mar, Glen Solsberry wrote:
| Recently, this list helped me to write a recipre that would sort list
| mail.  Well, I have found a smaill quirk with it, and was wondering if
| you could help me once again.
| 
| #Recipe for sorting through mailing lists.
| :0:
| * ^Subject: \[\/[^]]+
| lists.$MATCH
| 
| 
| Is the old recipe.  I also want to get messages that have (RE|Re|re):?,
| but that doesn't seem to work the way I want it to.  Can you all help?

:0:
* ^Subject: (Re: )?\[\/[^]]+
lists.$MATCH

This assumes there will always one space, no more and no less, between
"Subject:", "Re:" (if it's there), and "[listname]". Personally, I
wouldn't match a list solely on the condition above, and I wouldn't
limit it to working only with software (and users) that always provide 
whitespace sensibly. But this mimics what you already have, with the
addition of allowing for "Re:".


_______________________________________________
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>
  • List sort, Glen Solsberry
    • Re: List sort, Don Hammond <=