On Tue, May 19, 1998 at 10:41:16AM -0400, Noah L. Meyerhans wrote: > Pine does not do this by itself. The docs state that Pine will support > this, by allowing you to define multiple folders for incoming mail, but it > won't do the filtering for you. You need to use something like procmail, > which is available in .deb format from ftp.debian.org. Procmail is very > easy to set up. For example, here's a sample of my .procmailrc, which > sends all mail from the Debian mailing list to a special folder: > > :0: > * ^To.*debian-user@lists.debian.org > ./mail/archive/debianuser > > :0: > * ^Cc.*debian-user@lists.debian.org > ./mail/archive/debianuser > > This procmail "recipe" grabs all messages with the "To: " or "Cc: " header > being debian-user@lists.debian.org, and places them in > ./mail/archive/debianuser. Pine has been setup so that it treats this > file as an incoming mail folder (in addition to the default INBOX). > Procmail is powerful, easy to configure, and well documented. When you > install it, you'll get the procmail man pages, and other manpages called > procmailex, which are examples of procmail recipes. # Sorts the mailing lists : :0: * ^X-Mailing-List:.*debian-user@lists.debian.org debian-user/ :0: * ^X-Mailing-List:.*debian-mentors@lists.debian.org debian-mentors/ :0: * ^X-Mailing-List:.*debian-devel@lists.debian.org debian-devel/ :0: * ^X-Mailing-List:.*debian-announce@lists.debian.org debian-announce/ : Note the /'s are because I use maildirs, this requires procmail 3.10.7-5 or later. It's in hamm.
Attachment:
pgp2e9sQeZ9zx.pgp
Description: PGP signature