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

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:

ul
[etc/mailfilter.git] / 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"
 * ? 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
 }
 
   |$VACATION -j -r 3 -f $PMVAR/vacation.db -m $REPLIES/vacation $LOGNAME
 }