Re: no list-id header for mutt-user@xxxxxxxx
On Sun, Apr 12, 2009 at 07:54:48AM +0200, Markus Mueller wrote:
> > On 2009-04-11, Zhengquan Zhang <zhang.zhengquan@xxxxxxxxx> wrote:
>
> > > So how do you filter out mutt mailing list emails?
>
> <snipplet_of_muttrc>
> :0:
> * ^TO.*mutt-users@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: owner-mutt-users+M12486=akamoto=ml1.net@xxxxxxxx
X-Mail-from: owner-mutt-users+M12486=akamoto=ml1.net@xxxxxxxx
To: mutt-users <mutt-users@xxxxxxxx>
Mail-Followup-To: mutt-users <mutt-users@xxxxxxxx>
List-Post: <mailto:mutt-users@xxxxxxxx>
List-Unsubscribe: send mail to majordomo@xxxxxxxx, body only "unsubscribe
mutt-users"
Sender: owner-mutt-users@xxxxxxxx
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: foo@invalid, mutt-users@xxxxxxxx'
But if you make your matchexpression broad enough, you have several
possibilities.
Grrrrr,
Markus