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

Re: Procmail recipe.



There's already been a couple of examples here on the list but I thought I'll 
mail my version too. Here it goes:

:0 : $MAILDIR/debian-user.lock
* ^X-Mailing-List: .*debian-user.*
| $RCVSTORE +$HOME/Mail/IN.debian

I use mh and exmh to read my mail so that's why the first and third line look 
like that. What I'm trying to say is that filtering by the X-Mailing-List: has 
been successful and many other mailing lists have this header too.

Here's the version that should work for you:
:0:
* ^X-Mailing-List: .*debian-user.*
$HOME/Mail/deb

Brian Skreeg wrote:
> 	Hi folks, Could someone do me a wee favour and write out a simple
> procmail recipe for filtering this mailing list to another folder? 
> (~Mail/deb)
> 
> 	Been playing around for ages and can't seem to get it to filter on the
> To: header.

// Heikki
-- 
Heikki Vatiainen                  * hessu@cs.tut.fi
Tampere University of Technology  * Tampere, Finland



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: