X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/638a5556b1da40dfed06a501546ee46a07974bce..503e1c0235537afc1c510f4871ba51ab67fb5d76:/procmail/defines diff --git a/procmail/defines b/procmail/defines index e7d991a..cd1240e 100644 --- a/procmail/defines +++ b/procmail/defines @@ -23,6 +23,7 @@ PROCMAIL="$NICE /usr/bin/procmail -p $PMDIR/procmailrc" FORMAIL="$NICE /usr/bin/formail -f" EGREP="$NICE /bin/egrep" SED="$NICE /bin/sed" +DELIVER="$NICE /usr/lib/dovecot/deliver" CRM114="$NICE /usr/share/crm114/mailreaver.crm -u $MAILFILT/crm114/" SA_PREFS="$MAILFILT/spamassassin/user_prefs" @@ -32,11 +33,12 @@ SPAMC="$NICE /usr/bin/spamc -lx" TRAINER="$MAILFILT/bin/train" OURDATE=`date -R` -OURDATE_SHORT=`date +%Y.%m.%d.%H.%m.%N` +OURDATE_SHORT=`date +%Y.%m.%d.%H.%M.%N` -INBOX=$HOME/.maildir +BASE=$HOME/.maildir -DEFAULT=$INBOX/ +#DEFAULT="|$DELIVER" +DEFAULT=$BASE/ ORGMAIL=$HOME/BOUNCED-MAIL # maximum message size for spam checking @@ -66,7 +68,8 @@ RE_LASTNAME="kraff?t" RE_EXTRACT_HEADER_VALUE="[ ]*\/[^ ].*" NULL=/dev/null -DISCARD=$INBOX/.discard/ +DISCARD=$BASE/.discard/ +#DISCARD="'|$DELIVER -m BASE.discard'" ### variables from the message