]> 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 late delivery handler
authormartin f. krafft <madduck@madduck.net>
Sun, 23 Sep 2007 15:46:40 +0000 (17:46 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 23 Sep 2007 15:46:40 +0000 (17:46 +0200)
procmail/deliver [new file with mode: 0644]
procmail/procmailrc

diff --git a/procmail/deliver b/procmail/deliver
new file mode 100644 (file)
index 0000000..7a7b9a9
--- /dev/null
@@ -0,0 +1,14 @@
+:0
+*$ $DEST
+{
+  LOG="deliver:     delivering message $MSGID to $DEST$NL"
+  :0
+  $DEST
+}
+
+:0 E
+{
+  LOG="deliver:     delivering message $MSGID to default destination$NL"
+  :0
+  $DEFAULT
+}
index 15ef1fb3f7149dddb4c9e3822b35ec13d7b93d79..21ce73e49e93b8a4d5a2a5f2754eb1b66391f5ed 100755 (executable)
@@ -46,3 +46,5 @@ INCLUDERC=$PMDIR/spool
 INCLUDERC=$PMDIR/listquirks
 
 INCLUDERC=$PMRULES/all
 INCLUDERC=$PMDIR/listquirks
 
 INCLUDERC=$PMRULES/all
+
+INCLUDERC=$PMRULES/deliver