X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/4005966fcc096aa73e6bf3d7daa9adedee211e63..097bf78e44c8b71bbfe37e5882b845e1ce0bca76:/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 +}