From 67e1e81d0e60d4154ae0d2a34ee0e51a2a5f89c9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 23 Sep 2007 17:53:15 +0200 Subject: [PATCH 1/1] improve format normalisation for final destination --- procmail/deliver | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/procmail/deliver b/procmail/deliver index 928d52c..e3db030 100644 --- a/procmail/deliver +++ b/procmail/deliver @@ -6,10 +6,17 @@ VERBOSE=yes * DEST ?? .+[^/]$ { DEST="$DEST/" } + :0 + *$ DEST ?? ^$BASE/\. + { } + :0 E *$ DEST ?? ^\. { DEST="$BASE/$DEST" } + :0 E + { DEST="$BASE/.$DEST" } + LOG="deliver: delivering message $MSGID to $DEST$NL" :0 $DEST -- 2.39.5