From 1e3a25aebe1c2b00d5cc63cef7c4bff439d95c0e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 23 Oct 2016 12:08:11 +0100 Subject: [PATCH] Remove dovecot symlink --- src/freedombone-base-email | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-base-email b/src/freedombone-base-email index 8a9549d9..558bf97c 100755 --- a/src/freedombone-base-email +++ b/src/freedombone-base-email @@ -1183,6 +1183,9 @@ function configure_imap { rm /var/lib/dovecot/ssl-parameters.dat fi + if [ -f /etc/systemd/system/sockets.target.wants/dovecot.socket ]; then + rm /etc/systemd/system/sockets.target.wants/dovecot.socket + fi systemctl restart dovecot mark_completed $FUNCNAME }