X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/0f4bcee75353935ff9bc605f7e0b31d12e302605..7665e77f6cd55da6bbe898b0a01efd008f44fbd8:/procmail/deliver diff --git a/procmail/deliver b/procmail/deliver index 5a4f355..4417af6 100644 --- a/procmail/deliver +++ b/procmail/deliver @@ -1,6 +1,6 @@ :0 * ! DEST ?? . -{ DEST="$DEFAULT" } +{ DEST=/ } :0 * DEST ?? .+[^/]$ @@ -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