On Wed, Apr 25, 2001 at 09:48:24PM +0200, Bas Zoetekouw wrote:
> Hi Jimmy!
> 
> 
> > but I don't have the time right now to remember how to write a procmail 
> > recipe
> > to filter out the list into a separate folder to prevent my inbox from 
> > getting
> > too large. (Any help on this would be appreciated as well.)

No doubt this will spark a large rash of emails helping. I may as well
get in while I can.

> This will put all mail from debian-devel into a mailbox "Debian" (in the
> default maildir):
> 
> :0
> * ^x-loop:[EMAIL PROTECTED]
> debian
> 

A slight more generic one is:


:0 
* ^((List-Id|X-(Mailing-)?List):(.*[<]\/[^>]*))
{
        LISTID=$MATCH

        # all Debian things ...
        :0: 
        * LISTID ?? debian-\/[EMAIL PROTECTED]
        where/to/store/Debian/$MATCH
}

Which you can then make use of if you happen to subscribe to other mailing
lists which contain list-id (most) or x-mailing-list (a few).

Regards,
Anand


Reply via email to