I used the built-in tool to convert my config files. Things are working pretty well.
Code:
doveconf -n -c dovecot.conf-centos5 > dovecot.conf
/etc/dovecot/dovecot.conf (notice the directory structure change).
Code:
# 2.0.9: dovecot.conf-centos5
# OS: Linux 2.6.32-220.el6.i686 i686 CentOS release 6.3 (Final) ext4
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/vmail/%d/%n/Maildir
namespace {
inbox = yes
location =
prefix = INBOX.
separator = .
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocols = imap pop3
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-master {
mode = 0600
user = vmail
}
user = root
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
driver = static
}
protocol lda {
auth_socket_path = /var/run/dovecot/auth-master
log_path = /home/vmail/dovecot-deliver.log
postmaster_address = postmaster@jackmanlabs.net
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}