Re: Rules to .procmailrc
On Thu Nov 25, 2010 at 21:33:09 +0100, Simon Hollenbach wrote:
> Under recipes there is a sample of a filter used on To and CC at the same
> time, that should suit your needs.
Indeed - but you can do better than that if you want to handle
many Debian lists:
# Sort debian mailing lists into mailboxes.
# This dynamic style means when subscribing to new Debian mailing lists
# no changes need be made to this file.
:0:
* ^X-Mailing-List: <debian-.+@lists.debian.org>
* ^X-Mailing-List: <debian-\/[-a-zA-Z0-9]+
.debian.$MATCH/
This assumes you're delivering to Maildir folders, hence the trailing "/".
Steve
--
Let me steal your soul?
http://stolen-souls.com
Reply to: