| 1 | # Mostly autocreated |
| 2 | # Hand tuned for mailman lists - $LISTNAME is the name of the list to archive |
| 3 | # |
| 4 | ##====================================================================== |
| 5 | ##!!!!!!!!!!!!!!!!!!!!!! AUTO-CREATED, DO NOT EDIT !!!!!!!!!!!!!!!!!!!!! |
| 6 | ##====================================================================== |
| 7 | ## Procmail resource file for mharc archives generated from |
| 8 | ## /home/mharc/lib/lists.def |
| 9 | ## by ./bin/mk-procmailrc |
| 10 | ##====================================================================== |
| 11 | |
| 12 | SHELL=/bin/sh |
| 13 | LINEBUF=4096 |
| 14 | UMASK=133 |
| 15 | PATH=/home/mharc/bin:/usr/local/bin:/bin:/usr/bin |
| 16 | BASEDIR=/home/mharc |
| 17 | |
| 18 | # the log has grown to 400MB and is completely useless -- bernie |
| 19 | #LOGFILE=/dev/null |
| 20 | LOGFILE=$BASEDIR/log/procmail.log |
| 21 | |
| 22 | ## Do alot of logging? |
| 23 | #VERBOSE=yes |
| 24 | |
| 25 | ## Should deliveries be logged? |
| 26 | LOGABSTRACT=yes |
| 27 | |
| 28 | ## Root path to mail folders |
| 29 | MBOXROOT=/home/mharc/mbox |
| 30 | |
| 31 | ##====================================================================== |
| 32 | ## Start Rules |
| 33 | ##====================================================================== |
| 34 | |
| 35 | ## Avoid duplicate messages |
| 36 | #:0 Wh: $BASEDIR/msgid.lock |
| 37 | #| formail -D 16384 $BASEDIR/msgid.cache |
| 38 | |
| 39 | ## mailman lists |
| 40 | :0 Wi |
| 41 | CMDEXC_=| mkdir -m 755 -p $MBOXROOT/$LISTNAME |
| 42 | |
| 43 | :0 Wi |
| 44 | MESGDATE_=| /home/mharc/bin/extract-mesg-date -fmt '%Y-%m' |
| 45 | |
| 46 | :0: |
| 47 | $MBOXROOT/$LISTNAME/$MESGDATE_ |