X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/80cfa738b4c61d211347ac9038d8048a3a9b8799..bdc0656059a47a78efebfcd081fbdadba9c91466:/procmail/defines diff --git a/procmail/defines b/procmail/defines index de1ccc9..8fa4c83 100644 --- a/procmail/defines +++ b/procmail/defines @@ -17,18 +17,19 @@ REPLIES=$MAILFILT/autoreplies LOGFILE=${LOGFILE:-$PMVAR/log} LOGABSTRACT=no -NICE='/usr/bin/nice -20' +#NICE='/usr/bin/nice -20' 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" SPAMASSASSIN="$NICE /usr/bin/spamassassin -p $SA_PREFS" -#SPAMC="$NICE /usr/bin/spamc -lxu $ID" -SPAMC="$SPAMASSASSIN" +SPAMC="$NICE /usr/bin/spamc -lx" +#SPAMC="$SPAMASSASSIN" TRAINER="$MAILFILT/bin/train" OURDATE=`date -R` @@ -36,6 +37,7 @@ OURDATE_SHORT=`date +%Y.%m.%d.%H.%m.%N` INBOX=$HOME/.maildir +#DEFAULT="|$DELIVER" DEFAULT=$INBOX/ ORGMAIL=$HOME/BOUNCED-MAIL @@ -58,7 +60,7 @@ CRM_MISCLASSIFY_SA_AUTOTRAIN_LIMIT_SPAM=11 ### constants used in rules NL=" " -RE_MYDOMAIN="(.+\.)?madduck\.net" +RE_MYDOMAIN="(.+\.)*madduck\.net" RE_MAILRELAYS="(seamus|clegg)\.madduck\.net" RE_SPACE_NEWLINE="(^|[ ])" RE_FIRSTNAME="martin($RE_SPACE_NEWLINE+f(\.?|elix))?" @@ -67,6 +69,7 @@ RE_EXTRACT_HEADER_VALUE="[ ]*\/[^ ].*" NULL=/dev/null DISCARD=$INBOX/.discard/ +#DISCARD="'|$DELIVER -m INBOX.discard'" ### variables from the message