]> git.madduck.net Git - etc/mailfilter.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add delays to rules
authormartin f. krafft <madduck@madduck.net>
Sun, 23 Sep 2007 20:05:43 +0000 (22:05 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 23 Sep 2007 20:05:43 +0000 (22:05 +0200)
procmail/rules/admin
procmail/rules/debian
procmail/rules/feeds
procmail/rules/mass
procmail/rules/sudetia

index 2873572da416e208020b811ed7f2f45e3690297b..757454435dc7a0f39f81cb8590867eab84bc4497 100644 (file)
@@ -12,8 +12,8 @@
     SPAMTRAPPED
   }
 
     SPAMTRAPPED
   }
 
-  :0
-  { DEST=admin }
+  DELAY="$DELAY_TONIGHT"
+  DEST=admin
 
 #  DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _"
 #
 
 #  DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _"
 #
index 29d61e052ba24f6d62f64d38323624891eb7d8b0..4ebc12e90d2a3a33e5404452ce5456c414b2f073 100644 (file)
 
 :0 E
 * ORIGINAL_TO ?? ^madduck=debian\.org@forward\.madduck\.net$
 
 :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
 
 # vim:ft=procmail
index bb653a61e8f0760c95d2a4c89a7fad84459e1ae5..c7068cc5af2a8ce8a409162505f6c3f179733522 100644 (file)
@@ -1,5 +1,8 @@
 :0
 * ORIG_DOMAIN ?? ^r2e\.madduck\.net$
 :0
 * ORIG_DOMAIN ?? ^r2e\.madduck\.net$
-{ DEST=feeds }
+{
+  DELAY="$DELAY_TONIGHT"
+  DEST=feeds
+}
 
 # vim:ft=procmail
 
 # vim:ft=procmail
index 35aa48decbb24d201e95cf04c1149e312388cfae..991565210541c95023be2f0bd8c61d91b7f2bdd2 100644 (file)
@@ -1,5 +1,8 @@
 :0
 * ORIG_DOMAIN ?? ^mass\.madduck\.net$
 :0
 * ORIG_DOMAIN ?? ^mass\.madduck\.net$
-{ DEST=mass }
+{ 
+  DELAY="$DELAY_TONIGHT"
+  DEST=mass
+}
 
 # vim:ft=procmail
 
 # vim:ft=procmail
index 3ce55b4b6fff2744ef9b592255cc23576c5ccf88..b62ccc60705cb6663ac0d9ce3566f297013d0e2a 100644 (file)
@@ -1,5 +1,8 @@
 :0
 * ORIGINAL_TO ?? ^m(artin\.)?krafft@sudetia\.de$
 :0
 * ORIGINAL_TO ?? ^m(artin\.)?krafft@sudetia\.de$
-{ DEST=sudetia }
+{
+  DELAY="$DELAY_TONIGHT"
+  DEST=sudetia
+}
 
 # vim:ft=procmail
 
 # vim:ft=procmail