* horseriver <horseriv...@gmail.com> [2013-01-23 13:42]:
hi:

  How to edit my .procmailrc to put mails from  different mail list into 
different maildir?

  can this work :
  :0
  * ^to: mutt-users@mutt.org
  mutt-users@mutt.org

thanks

I use a more generic approach for this since years:

# 'Simple' mailing-lists
:0
* ^List-Post:.*mailto:\/[^@]+
$MAILSPOOL/.Mailinglists.$MATCH/

# generic filter for yahoogroups lists
:0
* ^Mailing-List: list .*@yahoogroups\..*;
* ^Mailing-List: list \/[a-z_0-9-]+
$MAILSPOOL/.Mailinglists.$MATCH/

Note that this is *on* the IMAP server itself! Your mileage may vary ...

HTH
Stefan

Attachment: pgpVLU0l0MOCA.pgp
Description: PGP signature

Reply via email to