* Rob 'Feztaa' Park ([EMAIL PROTECTED]) wrote: > On Sat, Dec 08, 2001 at 08:56:24AM +0000, Thomas Hurst (dis)graced my > inbox with: > > > My filters look like: > > > > :0: > > * ^X-Mailing-List: <\/[^@]+ > > lists/`echo $MATCH | sed -e 's/[\/]/_/g'` > > Sorry, it's early and my brain isn't firing on all cylinders yet. What > does this do, exactly? It _looks_ like it steals everything between > the '<' and the '*' in the X-Mailing-List header, and uses that as the > folder to save it to. If so, how reliable is that?
-<freaky@sploo:~/Mail/lists>- -% l |wc -l 43 Looks quite good to me :) This ml uses: Sender: [EMAIL PROTECTED], so you just match Sender: owner-([^@]+). Repeat for 7 or 8 different headers and you have them covered. sed is just used to avoid exploits embedding /'s in there to get into different directories. -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/