On Thu, 2002-03-14 at 11:10, Ryan J Goss wrote: > I recently joined this mailing list and enjoy the good discussions, but I > am trying to figure out how to set up procmail so that all debian related > messages get forwarded to a debian folder and not into my inbox. I don't > know what I am doing wrong. Here is what .procmailrc looks like: > MAILDIR=$HOME/mail #folder exists > PMDIR=$HOME/.procmail/ #folder exists > LOGFILE=$PMDIR/log > INCLUDERC=$PMDIR/debian.rc #file exists > <SNIP>
Try this one : # MOST LISTS - Automagically handle lists :0 * ^((List-Id|X-(Mailing-)?List):(.*[<]\/[^>]*)) { LISTID=$MATCH :0: * LISTID ?? ^\/[EMAIL PROTECTED] $MATCH } That will put all normal (mailman type) mailing lists into their own file, titled with the list name. HTH Greeno