Browse Source

Fixed Ubuntu 12.04 file not found error

bugfixes
gau1991 10 years ago
parent
commit
2d479de301
  1. 3
      src/modules/stack/install/mail/ee_mod_setup_dovecot.sh
  2. 13
      templates/mail/auth-sql.conf.ext

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

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

13
templates/mail/auth-sql.conf.ext

@ -0,0 +1,13 @@
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf.ext
}
userdb {
driver = prefetch
}
userdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf.ext
}
Loading…
Cancel
Save