stillhq.com : Mikal, a geek from Canberra living in Silicon Valley http://www.stillhq.com The life, times, travel and software of Michael Still en Copyright (c) Michael Still 2000 - 2006 blosxom simplerss20 v20050208hh 180 http://blogs.law.harvard.edu/tech/rss Automatically creating folders for mailing lists /procmail Mon, 17 Nov 2008 14:59:00 PST I've been using some simple procmail rules to automatically create folders for mailing lists for ages. Tony asked me for those rules today, so I figured I'd just put them online. <br/><br/> <ul><pre> ########################################################################## # Mailman :0: * List-Id:.*<\/[^>]* $MATCH :0: * List-Post: <mailto:\/[^>]* $MATCH ########################################################################## # Majordomo lists (sometimes don't have <>'s around the address :0: * X-Mailing-List:.*<\/[^>]* $MATCH :0: * X-Mailing-List:.*\/.* $MATCH ########################################################################## # Ezmlm :0: * Mailing-List: .* \/[^ ;]* $MATCH ########################################################################## # I'm not sure what creates this one... :0: * X-Loop: \/.* $MATCH </pre></ul> <br/><br/><i>Tags for this post: procmail(<a href="http://www.stillhq.com/procmail"><img src="http://www.stillhq.com/tagicon.cgi?post=/procmail/000001&tag=procmail&format=.png" border="0" alt="S"></a>) </i> <a href="http://www.stillhq.com/procmail/000001.commentform.html">Comment</a> http://www.stillhq.com/procmail/000001.html http://www.stillhq.com/procmail/000001.html