Tagging email subject line with something like [fbsd-questions]

Warren Block wblock at wonkity.com
Wed Apr 25 21:37:44 UTC 2007

On Wed, 25 Apr 2007, Chad Perrin wrote:
> On Wed, Apr 25, 2007 at 02:53:40PM +0100, Alex Zbyslaw wrote:
>> All messages are already tagged with a List-ID
>> e.g.
>> List-Id: User questions <freebsd-questions.freebsd.org>
> Do you have any suggestions for how to do something similar with mutt or
> procmail?

procmail can filter out duplicates and sort messages into "folders" 
(directories under ~/mail):

     # DEFAULT=$MAILDIR/mbox

     # Weed out duplicate messages.
     :0 Wh: msgid.lock
     | /usr/local/bin/formail -D 8192 $HOME/.msgid.cache

     # FreeBSD Questions Mailing list
     * ^List-Id:.*freebsd-questions.freebsd.org

This puts questions messages in a "folder" called FreeBSD-Questions 
(which you should probably create beforehand).  You'll also need a 
.forward file or FEATURE(local_procmail) in your sendmail .mc file to 
use procmail.

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list