On Sun, 12 Jan 2003, Zack Brown enslaved 16 hundred monkeys to type:
MONTHFOLDER=`date +%Y-%m`
:0:
* ^(Sender:[ ]*owner-|X-BeenThere:[ ]*|Delivered-To:[ ]*mailing
list |X-Loop:[
]*)\/[-A-Za-z0-9_+]+
$MATCH/$MATCH.$MONTHFOLDER
This is nice! I just have:
:0H:
* ? egrep -i "Listar|majordomo|List-Id:|Precedence: list"
lists
Which is more basic, but works for all the lists I'm on. The majordomo bit
is crude :) At least I don't get any filtered mail which shouldn't be
there!
I'm curious (Still learning) - do you get mail like:
poff.sixbit.org/poff.sixbit.org.2002-12
Or is the "from" the mailing list in all cases, so you'd get:
procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE/procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE(_dot_)2002-12
Or does it stop at the @ (what is the _+ for in your regexp? is that sort
ofa wildcard thing?)
Well anyway, hope my basic version helped! Doesn't seem to for your
headers, you could also do a case=by=case one isntead (sender: lists.*)
Poff
poff(_at_)sixbit(_dot_)org
SDF Public Access UNIX System - http://sdf.lonestar.org
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail