On 10/1/2005 1:50 AM Nick Rout wrote:

On Fri, 2005-09-30 at 19:54 -0400, Dave Nebinger wrote:
Just set up the following recipe for postfix/courier-imapd/procmail:

:0
* ^(From|Cc|To).*gentoo-user
$HOME/.maildir/.Gentoo.User/new/


do not drop it in the "new" subdir, procmail will look after that.

Also search on the right header:

List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>

Just consider if someone sends a list message to the list with cc to
you. Your recipe subverts the message designed for your inbox in to the
Gentoo.User folder.


Here's mine that I use for various lists. I can't claim writing it but I found it somewhere and it works well for me:

:0
*  ^List-Id:[^<]+<gentoo-\/[^.]+
.Gentoo.$MATCH/

What this does is create a "Gentoo" folder under my inbox and then a subfolder under "Gentoo" for each list to which I subscribe. So for example if you subscribe to gentoo-users, gentoo-announce and gentoo-security, this one rule will deliver all your Gentoo list mail to "users", "announce", and "security" folders under your "Gentoo" folder.

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list

Reply via email to