On 04/03/08 20:41, Christian Ebert wrote:
# Catch lists on List-Post
:0
* ^List-Post:.*mailto:\/[EMAIL PROTECTED]
Lists/$MATCH/

I have in .muttrc
lists [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] mutt-users@mutt.org

but the above formula did not sort the incoming mail into the correct
mailboxes.
What am I missing? :-/

[EMAIL PROTECTED] includes everything up to the first "@". -- My personal
preference for Maildir names.

Also above rule is for Maildir, not mbox. For mbox, and your
naming scheme, it should be something like:

:0:
* ^List-Post:.*mailto:\/[^>]+
Lists/$MATCH/


Also be aware that not /every/ mailing list inserts a List-Post
header.

Thanks Christian, that is what I was missing; now it works - procmailrc is 
several lines shorter :-)

--
#Joseph

Reply via email to