X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/fa4ece019ddd60666d6b438c3d27d2e53f6c3d64..2d2edcef6c1cd1a161107db0cd9f8995c7f17515:/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