X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/451f66ccde1a608fd45bb8d89db3d7bb1320178e..49921f3cfaed1c1e8c7bed5becb7f0b71801a05a:/procmail/defines diff --git a/procmail/defines b/procmail/defines index 464cea3..9d53e91 100644 --- a/procmail/defines +++ b/procmail/defines @@ -77,6 +77,7 @@ NULL=/dev/null DELAYED_QUEUE=$BASE/.delayed/ TICKLER_QUEUE=$BASE/.tickler/ DISCARD=$BASE/.discard/ +SPAM=$BASE/.spam/ #DISCARD="'|$DELIVER -m BASE.discard'" DELAY_NEXT_WEEKEND='next sunday 30 hours ago' # fri night, 18:00 @@ -90,7 +91,7 @@ OURDATE="`$BIN_DATE +'%s %Y.%m.%d.%H.%M.%N %a, %d %b %Y %T %z'`" *$ OURDATE ?? ^[0-9]+${RE_SPACE}+\/${RE_NOT_SPACE}+ { OURDATE_SHORT="$MATCH" } :0 -*$ OURDATE ?? ^[0-9]+${RE_SPACE}+[0-9.]+${RE_SPACE}+\/${RE_NOT_SPACE}+ +*$ OURDATE ?? ^[0-9]+${RE_SPACE}+[0-9.]+${RE_SPACE}+\/.+ { OURDATE="$MATCH" } ### variables from the message