X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/fa4ece019ddd60666d6b438c3d27d2e53f6c3d64..34611162529a78b56ba5e4de43b8db42c31d5779:/procmail/deliver diff --git a/procmail/deliver b/procmail/deliver index ca6bef4..e299423 100644 --- a/procmail/deliver +++ b/procmail/deliver @@ -1,3 +1,12 @@ +:0 +*$ DEST ?? ^$NULL$ +{ + LOG="deliver: sending message $MSGID to $DEST$NL" + + :0 + $NULL +} + :0 * ! DEST ?? . { DEST=/ } @@ -11,10 +20,7 @@ { DEST="$MATCH" } :0 -*$ DEST ?? ^\. -{ } - -:0 E +*$ ! DEST ?? ^\. { DEST=".$DEST" } :0