From 29eaf6d1140ab9365c64b7edead45e6ac89eaa0d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 23 Sep 2007 22:05:43 +0200 Subject: [PATCH] add delays to rules --- procmail/rules/admin | 4 ++-- procmail/rules/debian | 11 +++++++---- procmail/rules/feeds | 5 ++++- procmail/rules/mass | 5 ++++- procmail/rules/sudetia | 5 ++++- 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/procmail/rules/admin b/procmail/rules/admin index 2873572..7574544 100644 --- a/procmail/rules/admin +++ b/procmail/rules/admin @@ -12,8 +12,8 @@ SPAMTRAPPED } - :0 - { DEST=admin } + DELAY="$DELAY_TONIGHT" + DEST=admin # DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _" # diff --git a/procmail/rules/debian b/procmail/rules/debian index 29d61e0..4ebc12e 100644 --- a/procmail/rules/debian +++ b/procmail/rules/debian @@ -17,9 +17,12 @@ :0 E * ORIGINAL_TO ?? ^madduck=debian\.org@forward\.madduck\.net$ -{ - DELAY="10 seconds" - DEST=debian -} +{ DEST=debian } + +# delay messages until next weekend +:0 +* 1^0 ORIGINAL_TO ?? debian\.org@ +* 1^0 ^X-Debian- +{ DELAY="$DELAY_NEXT_WEEKEND" } # vim:ft=procmail diff --git a/procmail/rules/feeds b/procmail/rules/feeds index bb653a6..c7068cc 100644 --- a/procmail/rules/feeds +++ b/procmail/rules/feeds @@ -1,5 +1,8 @@ :0 * ORIG_DOMAIN ?? ^r2e\.madduck\.net$ -{ DEST=feeds } +{ + DELAY="$DELAY_TONIGHT" + DEST=feeds +} # vim:ft=procmail diff --git a/procmail/rules/mass b/procmail/rules/mass index 35aa48d..9915652 100644 --- a/procmail/rules/mass +++ b/procmail/rules/mass @@ -1,5 +1,8 @@ :0 * ORIG_DOMAIN ?? ^mass\.madduck\.net$ -{ DEST=mass } +{ + DELAY="$DELAY_TONIGHT" + DEST=mass +} # vim:ft=procmail diff --git a/procmail/rules/sudetia b/procmail/rules/sudetia index 3ce55b4..b62ccc6 100644 --- a/procmail/rules/sudetia +++ b/procmail/rules/sudetia @@ -1,5 +1,8 @@ :0 * ORIGINAL_TO ?? ^m(artin\.)?krafft@sudetia\.de$ -{ DEST=sudetia } +{ + DELAY="$DELAY_TONIGHT" + DEST=sudetia +} # vim:ft=procmail -- 2.39.5