* Dominik Mierzejewski ([EMAIL PROTECTED]) wrote: > On Tuesday, 05 March 2002, Thomas Hurst wrote: > > * Christopher S. Swingley ([EMAIL PROTECTED]) wrote: > > > > > And then I have recipes for my mailing lists: > > > > > > :0: > > > * ^Sender:\ owner-mutt-users@mutt\.org in-mutt-users > > > > Pfft, you want automatic list filtering, not this one-rule-per-list > > crap ;) > > Oh? I'm doing it just like Chris, could you point me to an example > that does thing "The Right Way(tm)"?
:0 * ^(Mailing-List: |Sender: owner-|X-BeenThere: |Delivered-To: mailing-list |X-Mailing-List: <|X-Loop: |X-List-ID: <|X-list: |X-ML-Name: )\/[^@\.]+ { LISTNAME = `echo $MATCH | sed -e 's/[\/]/_/g'` :0: $MAILDIR/lists/$LISTNAME } This is roughly how I do it. Works very well. -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/ - The two most common things in the universe are hydrogen and stupidity.