On Sun, Apr 12, 2009 at 07:54:48AM +0200, Markus Mueller wrote: > > On 2009-04-11, Zhengquan Zhang <[email protected]> wrote: > > > > So how do you filter out mutt mailing list emails? > > <snipplet_of_muttrc> > :0: > * ^to.*mutt-us...@mutt\.org > ml1/mutt-users/ > </som> > (errm.. snipplet of procmailrc .. grr)
However, if you look at all headers, 'h' as default in pagermode, you will most likely find some unique header. Be it 'To:' or something else. The mutt-users list also is quite distinguishable: Return-Path: [email protected] X-Mail-from: [email protected] To: mutt-users <[email protected]> Mail-Followup-To: mutt-users <[email protected]> List-Post: <mailto:[email protected]> List-Unsubscribe: send mail to [email protected], body only "unsubscribe mutt-users" Sender: [email protected] Sender probably is the best field for this purpose, as nobody besides the admin can influence what is put there, whereas one could write mail 'To: f...@invalid, [email protected]' But if you make your matchexpression broad enough, you have several possibilities. Grrrrr, Markus
