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