From bfbb91fbfd5ab6d4e3321fa01db21a5bd96be303 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 3 Mar 2008 10:23:33 +0100 Subject: [PATCH 1/1] handle delay disabling more verbosely --- procmail/delay-delivery | 8 +++++++- procmail/tickle | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) 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 } -- 2.39.5