diff --git a/src/freedombone b/src/freedombone index 5877f7f7..1521ae36 100755 --- a/src/freedombone +++ b/src/freedombone @@ -5619,14 +5619,8 @@ function configure_imap { return fi - # add directories if needed - if [ ! -d /usr/share/dovecot/protocols.d ]; then - mkdir -p mkdir -p /usr/share/dovecot/protocols.d - fi - if [ ! -d /etc/dovecot/conf.d ]; then - mkdir -p /etc/dovecot/conf.d - fi - + dpkg -P dovecot-imapd + dpkg -P dovecot-core apt-get -y install dovecot-imapd if [ ! -d /etc/dovecot ]; then