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

fix detection for messages from my machine
authormartin f. krafft <madduck@seamus.madduck.net>
Tue, 14 Aug 2007 14:01:48 +0000 (16:01 +0200)
committermartin f. krafft <madduck@seamus.madduck.net>
Tue, 14 Aug 2007 14:01:48 +0000 (16:01 +0200)
procmail/justme

index af7db20718d0a77daf3cee888c5c1a610f51d1c3..b174b3592a17a68039f8109e26a3b39041dc50eb 100644 (file)
@@ -1,8 +1,9 @@
+VERBOSE=yes
 :0
 * ? echo "$ORIGINAL_TO" | $EGREP -qif $CONF/justme-addresses
 {
   :0 H
 :0
 * ? echo "$ORIGINAL_TO" | $EGREP -qif $CONF/justme-addresses
 {
   :0 H
-  *$ MSGID ?? <.+@$RE_MYDOMAIN>
+  *$ MSGID ?? ^<.+@$RE_MYDOMAIN>
   {
     LOG="justme:      passing; from machine in my domain$NL"
     :0 fw
   {
     LOG="justme:      passing; from machine in my domain$NL"
     :0 fw
@@ -69,4 +70,5 @@
   }
 }
 
   }
 }
 
+VERBOSE=no
 # vim:ft=procmail
 # vim:ft=procmail