Date: Tue, 8 Apr 1997 02:18:21 -0300 (ADT) From: The Hermit Hacker <scrappy@hub.org> To: questions@freebsd.org Subject: Procmail rules for FreeBSD mailing lists... Message-ID: <Pine.NEB.3.96.970408021404.344K-100000@thelab.hub.org>
next in thread | raw e-mail | index | archive | help
Hi... I'm not sure if this helps anyone, but I spent tonight refining my .procmailrc in order to clean it up, since I was having three rulesets, in some cases, in order to handle the FreeBSD mailing lists. Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org ======[ cut here and use at own risk ]===== HOME=/home/staff/scrappy LOGFILE=$HOME/mail/procmaillog PATH=/usr/local/bin:/bin:/usr/bin MAILDIR=$HOME/mail SENDMAIL=/usr/lib/sendmail SHELL=/bin/sh DAYFOLDER=`date +%y%m%d` # this will prevent 'crossposted' messages from getting duplicated :0 Whc: msgid.lock | formail -D 8192 msgid.cache # this will backup the duplicates incase the above didn't work :0 a: $MAILDIR/duplicates/$DAYFOLDER :0: * ^TO_((freebsd-)?)security@freebsd.org $MAILDIR/folders/freebsd-security :0: * ^TO_multimedia@freebsd.org $MAILDIR/folders/freebsd-multimedia :0: * ^TO_((freebsd-)?)chat@freebsd.org $MAILDIR/folders/freebsd-chat :0: * ^TO_cvs-all@freefall.freebsd.org* $MAILDIR/folders/cvs-all :0: * ^TO_((freebsd-)?)current@freebsd.(org|com) $MAILDIR/folders/freebsd-current :0: * ^TO_stable@freebsd.org $MAILDIR/folders/freebsd-stable :0: * ^TO_((freebsd-)?)questions@freebsd.(org|com) $MAILDIR/folders/freebsd-questions :0: * ^TO_((freebsd-)?)hackers@freebsd.org $MAILDIR/folders/freebsd-hackers :0: * ^TO_((freebsd-)?)bugs@((freefall-)?)freebsd.org $MAILDIR/folders/freebsd-bugs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.970408021404.344K-100000>