Browse Source

Fixed dovecot configuration issue

old-stable
gau1991 11 years ago
parent
commit
6cecc83e5a
  1. 3
      src/modules/stack/install/mail/ee_mod_setup_dovecot.sh

3
src/modules/stack/install/mail/ee_mod_setup_dovecot.sh

@ -27,8 +27,7 @@ function ee_mod_setup_dovecot()
|| ee_lib_error "Unable to copy dovecot-sql.conf.ext, exit status = " $? || ee_lib_error "Unable to copy dovecot-sql.conf.ext, exit status = " $?
# Configuring auth-sql.conf.ext # Configuring auth-sql.conf.ext
sed -i "1s/#userdb {/userdb {/" /etc/dovecot/conf.d/auth-sql.conf.ext && \ sed "s/# driver = prefetch/userdb {\n driver = prefetch\n}/" /etc/dovecot/conf.d/auth-sql.conf.ext \
sed -i "s/# driver = prefetch/ driver = prefetch\n}/" /etc/dovecot/conf.d/auth-sql.conf.ext \
|| ee_lib_error "Unable to setup auth-sql.conf.ext, exit status = " $? || ee_lib_error "Unable to setup auth-sql.conf.ext, exit status = " $?

Loading…
Cancel
Save