X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/39624250646933161646aa1de574cfc4965f2916..ef6adc4e12e24a880432c6d6f7039163ce588510:/procmail/defines diff --git a/procmail/defines b/procmail/defines index 7df70cd..e423f06 100644 --- a/procmail/defines +++ b/procmail/defines @@ -17,6 +17,8 @@ REPLIES=$MAILFILT/autoreplies LOGFILE=${LOGFILE:-$PMVAR/log} LOGABSTRACT=no +LC_CTYPE=de_CH.UTF-8 + #NICE='/usr/bin/nice -20' PROCMAIL="$NICE /usr/bin/procmail -p $PMDIR/procmailrc" @@ -42,7 +44,7 @@ DEFAULT=$BASE/ ORGMAIL=$HOME/BOUNCED-MAIL # maximum message size for spam checking -SPAMCHECK_MAX_MESSAGE_SIZE=2500000 +SPAMCHECK_MAX_MESSAGE_SIZE=512000 # if crm114 is unsure and SA returns a score less-than-or-equal to this, # autotrain crm114 with ham @@ -67,6 +69,8 @@ RE_FIRSTNAME="martin($RE_SPACE_NEWLINE+f(\.?|elix))?" RE_LASTNAME="kraff?t" RE_EXTRACT_HEADER_VALUE="[ ]*\/[^ ].*" +DEJAVU_HEADER=X-Deja-Vu + NULL=/dev/null DISCARD=$BASE/.discard/ #DISCARD="'|$DELIVER -m BASE.discard'" @@ -109,11 +113,6 @@ INCLUDERC=$PMDIR/get-msgid *$ ^Subject:$RE_EXTRACT_HEADER_VALUE { SUBJECT="$MATCH" } -# TODO: can be removed as soon as albatross is out of the loop -:0 fw -* ^X-Original-To-Saved: \/.* -|$FORMAIL -R X-Original-To-Saved X-Original-To - :0 *$ ^X-Original-To:$RE_EXTRACT_HEADER_VALUE { ORIGINAL_TO="$MATCH" } @@ -175,3 +174,7 @@ RETRAIN # JUSTME # if set, contains reason why justme message was passed JUSTME + +# TRAINED_AS +# if set, contains category with which this message has just been trained +TRAINED_AS