X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/bd01be7c73f0cb65d39bee92874a8d1b2957c852..77da85a6358ffc97778ac2c06e3c9e803163f1c4:/procmail/defines diff --git a/procmail/defines b/procmail/defines index c38adab..62464dd 100644 --- a/procmail/defines +++ b/procmail/defines @@ -76,7 +76,7 @@ RE_EXTRACT_HEADER_VALUE="$RE_SPACE*\/$RE_NOT_SPACE.*" DEJAVU_HEADER=X-Deja-Vu NULL=/dev/null -DELAY_QUEUE=$BASE/.delay/ +DELAYED_QUEUE=$BASE/.delayed/ TICKLER_QUEUE=$BASE/.tickler/ DISCARD=$BASE/.discard/ #DISCARD="'|$DELIVER -m BASE.discard'" @@ -125,6 +125,14 @@ INCLUDERC=$PMDIR/get-msgid :0 E { LOG="NO ORIGINAL_TO: $MSGID" } +:0 +*$ ^X-Trained-As:$RE_EXTRACT_HEADER_VALUE +{ TRAINED_AS="$MATCH" } + +:0 +*$ ^X-Tickle-Delivered:$RE_EXTRACT_HEADER_VALUE +{ TICKLE_DELIVERED="$MATCH" } + # fix variable values for special cases INCLUDERC=$PMDIR/normalise @@ -185,7 +193,3 @@ 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