You need almost to rebuild the config following install instruction
I think that
/etc/sentora/configs/dovecot2/dovecot-mysql.conf
Holds a correct config? With passwords?
You will then need to ln :
ln -s /etc/sentora/configs/dovecot2/dovecot.conf /etc/dovecot/dovecot.conf
Hope you got it? Notice I don't know the full scale of damage in your server. Also there is permission issues & sieve setup.
M B
Code:
mkdir -p $PANEL_DATA/sieve
chown -R vmail:mail $PANEL_DATA/sieve
mkdir -p /var/lib/dovecot/sieve/
touch /var/lib/dovecot/sieve/default.sieve
ln -s $PANEL_CONF/dovecot2/globalfilter.sieve $PANEL_DATA/sieve/globalfilter.sieve
rm -rf /etc/dovecot/dovecot.conf
ln -s $PANEL_CONF/dovecot2/dovecot.conf /etc/dovecot/dovecot.conf
sed -i "s|!POSTMASTER_EMAIL!|postmaster@$PANEL_FQDN|" $PANEL_CONF/dovecot2/dovecot.conf
sed -i "s|!POSTFIX_PASSWORD!|$postfixpassword|" $PANEL_CONF/dovecot2/dovecot-dict-quota.conf
sed -i "s|!POSTFIX_PASSWORD!|$postfixpassword|" $PANEL_CONF/dovecot2/dovecot-mysql.conf
sed -i "s|!DOV_UID!|$VMAIL_UID|" $PANEL_CONF/dovecot2/dovecot-mysql.conf
sed -i "s|!DOV_GID!|$MAIL_GID|" $PANEL_CONF/dovecot2/dovecot-mysql.conf
touch /var/log/dovecot.log /var/log/dovecot-info.log /var/log/dovecot-debug.log
chown vmail:mail /var/log/dovecot*
chmod 660 /var/log/dovecot*
I think that
/etc/sentora/configs/dovecot2/dovecot-mysql.conf
Holds a correct config? With passwords?
You will then need to ln :
ln -s /etc/sentora/configs/dovecot2/dovecot.conf /etc/dovecot/dovecot.conf
Hope you got it? Notice I don't know the full scale of damage in your server. Also there is permission issues & sieve setup.
M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask
200$ free to start your VPS 60 days credit
How to ask
200$ free to start your VPS 60 days credit