X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/4005966fcc096aa73e6bf3d7daa9adedee211e63..1c58a2ec1f77bd76da2d149012959e9bf121e39e:/procmail/deliver diff --git a/procmail/deliver b/procmail/deliver index 4417af6..ca6bef4 100644 --- a/procmail/deliver +++ b/procmail/deliver @@ -17,8 +17,11 @@ :0 E { DEST=".$DEST" } -TRAP="$TRAP; echo \"delivered: \$DESTFILE\" >> '$THISLOGFILE'" - -LOG="deliver: delivering message $MSGID to $DEST$NL" :0 -$BASE/$DEST +{ + LOG="deliver: delivering message $MSGID to $DEST$NL" + TRAP="$TRAP; echo \"delivered: \$DESTFILE\" >> '$THISLOGFILE'" + + :0 + $BASE/$DEST +}