summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2013-05-27 09:34:54 +0200
committerJonas Smedegaard <dr@jones.dk>2013-05-27 09:34:54 +0200
commit1199fa5bf6fee2d97331c2223df56e1d94a6a625 (patch)
treea46372804ad8c4afbf867f3689341625a9334561 /postfix
parent3566cbd41e0a0303557c8fc843036cfcde6732ea (diff)
Fix properly disable DKIMproxy when daemon unavailable.
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/postfix.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 3f5467a..3d40cc8 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -246,6 +246,7 @@ else
if [ -f "$tempdir/sender_access_regex" ]; then
if grep -q -F '/^/ FILTER dkimsign:[127.0.0.1]:10026' "$tempdir/sender_access_regex"; then
echo "echo '' > \"$confdir/sender_access_regex\"" >> "$tempdir/COMMANDS"
+ rm "$tempdir/sender_access_regex"
fi
fi
fi