diff --git a/src/modules/stack/install/mail/ee_mod_setup_dovecot.sh b/src/modules/stack/install/mail/ee_mod_setup_dovecot.sh index 995ed2e4..8c04282a 100644 --- a/src/modules/stack/install/mail/ee_mod_setup_dovecot.sh +++ b/src/modules/stack/install/mail/ee_mod_setup_dovecot.sh @@ -27,7 +27,7 @@ function ee_mod_setup_dovecot() || ee_lib_error "Unable to copy dovecot-sql.conf.ext, exit status = " $? # Configuring auth-sql.conf.ext - sed -i "s/#userdb {/userdb {/" /etc/dovecot/conf.d/auth-sql.conf.ext && \ + sed -i "1s/#userdb {/userdb {/" /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 = " $?