From 097c75254f91531513cd2c9a43749e46b8d27e11 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 23 Sep 2007 18:13:33 +0200 Subject: [PATCH 1/1] only add base to dest later on --- procmail/deliver | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/procmail/deliver b/procmail/deliver index e3db030..c3188ff 100644 --- a/procmail/deliver +++ b/procmail/deliver @@ -1,23 +1,23 @@ -VERBOSE=yes :0 -*$ $DEST +* DEST ?? . { :0 * DEST ?? .+[^/]$ { DEST="$DEST/" } :0 - *$ DEST ?? ^$BASE/\. - { } + *$ DEST ?? ^$BASE/\/.+ + { DEST="$MATCH" } - :0 E + :0 *$ DEST ?? ^\. - { DEST="$BASE/$DEST" } + { } :0 E - { DEST="$BASE/.$DEST" } + { DEST=".$DEST" } LOG="deliver: delivering message $MSGID to $DEST$NL" + DEST="$BASE/$DEST" :0 $DEST } -- 2.39.5