[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: List based subject line



Quoting David Fokkema (dfokkema@ileos.nl):
> On Fri, May 28, 2004 at 09:13:46AM -0700, Bill Moseley wrote:
> > On Fri, May 28, 2004 at 03:29:09PM +0200, David Fokkema wrote:
> > > You can use procmail, a very simple yet efficient and very powerful mail
> > > filter. If you use the following rule:
> > > 
> > > :0
> > > ^X-Mailing-List: <debian-\/[^@]+
> > > debian-${MATCH}
> > 
> > Or if you use ^TO like 
> > 
> >   * (^TO|^X-Mailing-List:.*) ...
> > 
> > along with 
> > 
> >     :0 Wh: msgid.lock
> >     | formail -D 8192 $HOME/msgid.cache
> > 
> > they you you may find those CC's not so annoying, and maybe even nice on
> > very slow responding lists.
> 
> I like your last remark! However, I don't grok your last two script
> lines. Care to elaborate on them a bit? I would guess, from man formail,
> that duplicate messages are deleted. Very nice. But how do they get
> delivered in your correct mailboxes? Can you give the complete rule?
> Thanks!
> 

Aside from the obvious man pages, there's a really good introduction to
procmail filtering here[1]. The mailing list rules are particularly
good, and I've been using them for about 18 months (or maybe more) with
no problems at all.

hth,

matt

[1] http://www.linuxbrit.co.uk/procmail/

-- 
Matt Foster
mattfoster@clara.co.uk
ee1mpf@bath.ac.uk
http://www.mattfoster.clara.co.uk 
icq: 106411042

Attachment: signature.asc
Description: Digital signature


Reply to: