]> 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:

properly log ignored messages
authormartin f. krafft <madduck@madduck.net>
Mon, 3 Mar 2008 12:33:42 +0000 (13:33 +0100)
committermartin f. krafft <madduck@madduck.net>
Mon, 3 Mar 2008 12:33:42 +0000 (13:33 +0100)
procmail/ignore
procmail/procmailrc
procmail/smsmail

index e49b667488ca991817565658929f2ff975c8bbcd..a5ae61fa3a3700e33f0a3998b6319c8896461d0b 100644 (file)
@@ -1,7 +1,7 @@
 :0 BH
 * ? $EGREP -qif $CONF/ignore
 {
-  LOG="ignore:      discarding ignored message $MSGID from $FROM to $ORIGINAL_TO$NL"
+  LOG="ignore:      discarding ignored message$NL"
   SWITCHRC=$PMDIR/discard
 }
 
index 6dcd3b4308eac4caefe3963f0b397ac1c33751b1..117f552913727b4e3f8c0d87d1bfa6bbcdf3a48e 100755 (executable)
@@ -10,15 +10,15 @@ INCLUDERC=$PMDIR/defer
 
 INCLUDERC=$PMDIR/defines
 
-INCLUDERC=$PMDIR/ignore
-
-INCLUDERC=$PMDIR/smsmail
-
 #VERBOSE=yes
 
 INCLUDERC=$PMDIR/logging
 #INCLUDERC=$PMDIR/msgid-index
 
+INCLUDERC=$PMDIR/ignore
+
+INCLUDERC=$PMDIR/smsmail
+
 INCLUDERC=$PMDIR/flag-test-messages
 
 INCLUDERC=$PMDIR/dejavu
index 9702f8aa1c4bdeb06a57f1b7322a8ef18a9e781c..5a6f63c1d4a016d81f53ca530b382a60ef6e65ec 100644 (file)
@@ -4,6 +4,7 @@
   :0 W
   |$HOME/.bin/proc_smsmail
 
+  TRAP
   EXITCODE=$?
   HOST
 }