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