]> git.madduck.net Git - etc/mailfilter.git/blobdiff - procmail/rules/admin

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:

fix devlivery of messages, now last match wins
[etc/mailfilter.git] / procmail / rules / admin
index 6d8f0ede36584265b2b0b0087d188f89b07391ae..2873572da416e208020b811ed7f2f45e3690297b 100644 (file)
@@ -6,24 +6,26 @@
   :0
   *$ !^Delivered-To: .+@$EQ_DOMAIN
   {
-    LOG="spamtrap message as it was never delivered to $EQ_DOMAIN
-"
+    LOG="spamtrap message as it was never delivered to $EQ_DOMAIN$NL"
     :0 fw
     |$FORMAIL -A'X-Spamtrapped: not delivered to eqdomain'
     SPAMTRAPPED
   }
 
-  DESTDIR="$INBOX/.admin.`echo $EQ_DOMAIN | tr . _"
-
   :0
-  {
-    :0
-    * EQ_LOCAL ?? (logcheck|apticron)
-    ${DESTDIR}.$EQ_LOCAL/
+  { DEST=admin }
 
-    :0
-    ${DESTDIR}/
-  }
+#  DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _"
+#
+#  :0
+#  {
+#    :0
+#    * EQ_LOCAL ?? (logcheck|apticron)
+#    ${DESTDIR}.$EQ_LOCAL/
+#
+#    :0
+#    ${DESTDIR}/
+#  }
 }
 
 # vim:ft=procmail