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):
PATH=$HOME/procmail:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/mail
# DEFAULT=$MAILDIR/mbox
LOGFILE=$HOME/.procmaillog
LOCKFILE=$HOME/.lockmail
# Weed out duplicate messages.
:0 Wh: msgid.lock
| /usr/local/bin/formail -D 8192 $HOME/.msgid.cache
# FreeBSD Questions Mailing list
:0
* ^List-Id:.*freebsd-questions.freebsd.org
$MAILDIR/FreeBSD-Questions
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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"