From: martin f. krafft Date: Sun, 23 Sep 2007 20:05:43 +0000 (+0200) Subject: add delays to rules X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/29eaf6d1140ab9365c64b7edead45e6ac89eaa0d?ds=inline add delays to rules --- 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