X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/cd898064101f6cf9a55af2c98514574a6ec7f94a..a61350bc7ddd403460f79498a48e07f101fc2067:/procmail/defines diff --git a/procmail/defines b/procmail/defines index 93efda8..c38adab 100644 --- a/procmail/defines +++ b/procmail/defines @@ -32,9 +32,11 @@ SA_PREFS="$MAILFILT/spamassassin/user_prefs" SPAMASSASSIN="$NICE /usr/bin/spamassassin --prefs-file=$SA_PREFS" SPAMC="$NICE /usr/bin/spamc --log-to-stderr --no-safe-fallback" #SPAMC="$SPAMASSASSIN" -TRAINER="$MAILFILT/bin/train" +TRAINER="$NICE $MAILFILT/bin/train" -OURDATE=`date -R` +SQLITE="$NICE /usr/bin/sqlite3" + +OURDATE="`date -R`" OURDATE_SHORT=`date +%Y.%m.%d.%H.%M.%N` BASE=$HOME/.maildir @@ -64,14 +66,18 @@ NL=" " RE_MYDOMAIN="(.+\.)*madduck\.net" RE_MAILRELAYS="(seamus|clegg)\.madduck\.net" -RE_SPACE_NEWLINE="(^|[ ])" +RE_SPACE="[ ]" +RE_NOT_SPACE="[^ ]" +RE_SPACE_NEWLINE="(^|$RE_SPACE)" RE_FIRSTNAME="martin($RE_SPACE_NEWLINE+f(\.?|elix))?" RE_LASTNAME="kraff?t" -RE_EXTRACT_HEADER_VALUE="[ ]*\/[^ ].*" +RE_EXTRACT_HEADER_VALUE="$RE_SPACE*\/$RE_NOT_SPACE.*" DEJAVU_HEADER=X-Deja-Vu NULL=/dev/null +DELAY_QUEUE=$BASE/.delay/ +TICKLER_QUEUE=$BASE/.tickler/ DISCARD=$BASE/.discard/ #DISCARD="'|$DELIVER -m BASE.discard'"