From: martin f. krafft Date: Mon, 3 Mar 2008 09:23:33 +0000 (+0100) Subject: handle delay disabling more verbosely X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/bfbb91fbfd5ab6d4e3321fa01db21a5bd96be303?ds=inline handle delay disabling more verbosely --- diff --git a/procmail/delay-delivery b/procmail/delay-delivery index 38f7c4e..6a4717c 100644 --- a/procmail/delay-delivery +++ b/procmail/delay-delivery @@ -3,12 +3,18 @@ :0 * POSTPONED ?? . { + LOG="delay: not delaying already-postponed message$NL" :0 fw |$FORMAIL -R X-Postponed X-Was-Postponed } :0 E -* ! DISABLE_DELAYS ?? . +* DISABLE_DELAYS ?? . +{ + LOG="delay: delays disabled, thus not delaying$NL" +} + +:0 E * DELAY ?? . { #TODO: for tickling, use header date diff --git a/procmail/tickle b/procmail/tickle index 6b0276a..1a3388d 100644 --- a/procmail/tickle +++ b/procmail/tickle @@ -57,7 +57,7 @@ LOG="tickle: delaying message until $DELAY$NL" DELAYED_QUEUE=$TICKLER_QUEUE - # unset DISABLE_DELAYS to enable delaying for tickle messages + # unset DISABLE_DELAYS to always enable delaying for tickle messages DISABLE_DELAYS }