Действия

VestaCP - переустановка dovecot

Материал из Wiki - Iphoster - 'the best ever support'

Самые выгодные сервера? в рунете


VestaCP - переустановка dovecot

Удаляем:

# rpm -e dovecot-2.0.9-19.el6_7.2.x86_64
# mv /etc/dovecot /etc/dovecot_old

Ставим:

# yum install dovecot -y
# cd /etc && mkdir dovecot && cd  dovecot && wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/dovecot.conf && mkdir conf.d && cd conf.d
# wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/conf.d/10-auth.conf
# wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/conf.d/10-logging.conf
# wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/conf.d/10-mail.conf
# wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/conf.d/10-master.conf
# wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/conf.d/10-ssl.conf
# wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/conf.d/20-imap.conf
# wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/conf.d/20-pop3.conf
# wget -c http://c.vestacp.com/0.9.8/rhel/dovecot/conf.d/auth-passwdfile.conf.ext


Важно проверить чтобы пароли брались из конфигов - /etc/exim/domains/%d/passwd

 # cat conf.d/auth-passwdfile.conf.ext
passdb {
 driver = passwd-file
 args = scheme=MD5-CRYPT username_format=%n /etc/exim/domains/%d/passwd
} 
userdb { driver = passwd-file args = username_format=%n /etc/exim/domains/%d/passwd }