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
SED=/bin/sed
PERL=/usr/bin/perl
PATH=/usr/local/bin:/usr/bin:/bin
# Configuration variables #############################################
VERBOSE=no
MAILDIR=/home/nemunaire/.mail
DEFAULT=$MAILDIR/.Lost/
ORGMAIL=$MAILDIR/
JUNK=$MAILDIR/.Junk/
LOGFILE=$MAILDIR/procmail.log
PMDIR=$HOME/.procmail
# Custom scripts ######################################################
MAR=$PMDIR/mark_as_read
MAO=$PMDIR/mark_as_oldnew
NOTIFY=$PMDIR/notify
# Before anything else, filter spam
INCLUDERC=$PMDIR/rc.spam
#INCLUDERC=$PMDIR/rc.duplicate
# Filter nagios and system alerts here
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.corrections
# Filters #############################################################
:0 h
* ^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.bounces
INCLUDERC=$PMDIR/rc.list
INCLUDERC=$PMDIR/rc.common
INCLUDERC=$PMDIR/rc.emplois
INCLUDERC=$PMDIR/rc.amis
INCLUDERC=$PMDIR/rc.meetups
INCLUDERC=$PMDIR/rc.website
INCLUDERC=$PMDIR/rc.qarnot
INCLUDERC=$PMDIR/rc.novaquark
INCLUDERC=$PMDIR/rc.epita
INCLUDERC=$PMDIR/rc.multi
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.old
INCLUDERC=$PMDIR/rc.pubs
INCLUDERC=$PMDIR/rc.send
# Last chance
:0 h
* ^TO_(nemunaire@(nemunai.re|pomail.fr)|pierre-olivier@mercier.pm)
:0H
* ^TO_((pom|pomercier|nemunaire)@(nemunai.re|pomail.fr)|pierre-?olivier@mercier.pm)
./