procmailrc: reorder + comments

This commit is contained in:
nemunaire 2016-01-14 18:01:59 +01:00
parent 293cd28b83
commit 247603a6a8

View File

@ -1,68 +1,63 @@
VERBOSE=no # Some environment variables ##########################################
SHELL=/bin/sh SHELL=/bin/sh
SED=/bin/sed SED=/bin/sed
PERL=/usr/bin/perl PERL=/usr/bin/perl
PATH=/usr/local/bin:/usr/bin:/bin PATH=/usr/local/bin:/usr/bin:/bin
# Configuration variables #############################################
VERBOSE=no
MAILDIR=/home/nemunaire/.mail MAILDIR=/home/nemunaire/.mail
DEFAULT=$MAILDIR/.Lost/ DEFAULT=$MAILDIR/.Lost/
ORGMAIL=$MAILDIR/ ORGMAIL=$MAILDIR/
JUNK=$MAILDIR/.Junk/ JUNK=$MAILDIR/.Junk/
LOGFILE=$MAILDIR/procmail.log LOGFILE=$MAILDIR/procmail.log
PMDIR=$HOME/.procmail PMDIR=$HOME/.procmail
# Custom scripts ######################################################
MAR=$PMDIR/mark_as_read MAR=$PMDIR/mark_as_read
MAO=$PMDIR/mark_as_oldnew MAO=$PMDIR/mark_as_oldnew
NOTIFY=$PMDIR/notify NOTIFY=$PMDIR/notify
# Before anything else, filter spam
INCLUDERC=$PMDIR/rc.spam INCLUDERC=$PMDIR/rc.spam
#INCLUDERC=$PMDIR/rc.duplicate # Filter nagios and system alerts here
INCLUDERC=$PMDIR/rc.nagios INCLUDERC=$PMDIR/rc.nagios
INCLUDERC=$PMDIR/rc.system
# Filters, unbackuped mails ###########################################
INCLUDERC=$PMDIR/rc.pubs
INCLUDERC=$PMDIR/rc.newslettre
INCLUDERC=$PMDIR/rc.reports
# Backup ##############################################################
INCLUDERC=$PMDIR/rc.backup INCLUDERC=$PMDIR/rc.backup
#INCLUDERC=$PMDIR/rc.corrections # Filters #############################################################
:0 h INCLUDERC=$PMDIR/rc.bounces
* ^Subject:[ ]+\/(|send)[ ]+key pub\>.*
| mutt -s "Re: $MATCH" `formail -rtzxTo:` </home/nemunaire/mercie_d.asc
:0 hfw
SUBJECT=| formail -xSubject:
INCLUDERC=$PMDIR/rc.system
INCLUDERC=$PMDIR/rc.priority
INCLUDERC=$PMDIR/rc.list INCLUDERC=$PMDIR/rc.list
INCLUDERC=$PMDIR/rc.common INCLUDERC=$PMDIR/rc.emplois
INCLUDERC=$PMDIR/rc.amis INCLUDERC=$PMDIR/rc.amis
INCLUDERC=$PMDIR/rc.meetups INCLUDERC=$PMDIR/rc.meetups
INCLUDERC=$PMDIR/rc.website INCLUDERC=$PMDIR/rc.multi
INCLUDERC=$PMDIR/rc.qarnot
INCLUDERC=$PMDIR/rc.novaquark
INCLUDERC=$PMDIR/rc.epita
INCLUDERC=$PMDIR/rc.projects INCLUDERC=$PMDIR/rc.projects
INCLUDERC=$PMDIR/rc.escrime INCLUDERC=$PMDIR/rc.sports
INCLUDERC=$PMDIR/rc.newslettre INCLUDERC=$PMDIR/rc.epita
INCLUDERC=$PMDIR/rc.notify INCLUDERC=$PMDIR/rc.notify
INCLUDERC=$PMDIR/rc.old
INCLUDERC=$PMDIR/rc.pubs
INCLUDERC=$PMDIR/rc.send
# Last chance # Last chance
:0 h :0H
* ^TO_(nemunaire@(nemunai.re|pomail.fr)|pierre-olivier@mercier.pm) * ^TO_((pom|pomercier|nemunaire)@(nemunai.re|pomail.fr)|pierre-?olivier@mercier.pm)
./ ./