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

improve vacation message handling
authormartin f. krafft <madduck@madduck.net>
Tue, 1 Feb 2011 07:50:32 +0000 (08:50 +0100)
committermartin f. krafft <madduck@madduck.net>
Thu, 7 Jul 2011 05:39:45 +0000 (07:39 +0200)
procmail/vacation

index 7f8f4d1f6e9621c8af45d424b1758a37665f6457..d80c68c73dee4855d47636aa920ca950973c44b2 100644 (file)
@@ -4,7 +4,8 @@
 * ? echo "$ORIGINAL_TO" | $EGREP -qif $CONF/vacation-rcpts
 {
   LOG="vacation:    maybe sending vacation autoreply to $SENDER$NL"
-  :0: $PMVAR/vacation.db.lock
+  TRAP
+  :0 h: $PMVAR/vacation.db.lock
   |$VACATION -j -r 3 -f $PMVAR/vacation.db -m $REPLIES/vacation $LOGNAME
 }