X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/b6c92160b09b98f85da28b136d288aa9d83029d6..7665e77f6cd55da6bbe898b0a01efd008f44fbd8:/procmail/delay-delivery diff --git a/procmail/delay-delivery b/procmail/delay-delivery index 2c6fc4d..3410dcf 100644 --- a/procmail/delay-delivery +++ b/procmail/delay-delivery @@ -10,15 +10,15 @@ { DELAY="now + $DELAY" } #TODO: for tickling, use header date - RELEASE="`date -d \"$DELAY\" +'%s %c'`" + RELEASE="`$BIN_DATE -d \"$DELAY\" +'%s %c'`" + :0 *$ RELEASE ?? ^\/${RE_NOT_SPACE}+ { RELEASE_TS=$MATCH } - VERBOSE=yes :0 - *$ $RELEASE_TS^0 - *$ -$OURDATE_TS^0 + *$ $RELEASE_TS ^0 + *$ -$OURDATE_TS ^0 { :0 *$ RELEASE ?? ^[0-9]+${RE_SPACE}+\/.+ @@ -42,5 +42,4 @@ :0 $DELAYED_QUEUE } - VERBOSE=no }