X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/89f701e747fdcb7fbbf09e1ad3c4a904d021db33..e1d90df1eaecda8accd3c8117756c33a926b359c:/procmail/deliver diff --git a/procmail/deliver b/procmail/deliver index 168ccdf..4417af6 100644 --- a/procmail/deliver +++ b/procmail/deliver @@ -17,9 +17,7 @@ :0 E { DEST=".$DEST" } -TRAP="DEST=\"\${LASTFOLDER#$BASE/}\"; - echo \"delivered: \$DEST\" >> '$THISLOGFILE'; - $TRAP" +TRAP="$TRAP; echo \"delivered: \$DESTFILE\" >> '$THISLOGFILE'" LOG="deliver: delivering message $MSGID to $DEST$NL" :0