Linode Forum
https://forum.linode.com/

Dovecot configuration to work with MySQL and Postfix
https://forum.linode.com/viewtopic.php?f=11&t=8814
Page 1 of 1

Author:  redhat19 [ Thu May 10, 2012 1:13 pm ]
Post subject:  Dovecot configuration to work with MySQL and Postfix

Hi guys,

I want to convert this Dovecot configuration file for Dovecot 1.x to a dovecot file for Dovecot 2.x

============= /etc/dovecot.conf ====================
protocols = imap imaps pop3 pop3s
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/vmail/%d/%n/Maildir

ssl_cert_file = /etc/pki/dovecot/certs/dovecot.pem
ssl_key_file = /etc/pki/dovecot/private/dovecot.pem

namespace private {
separator = .
prefix = INBOX.
inbox = yes
}

protocol lda {
log_path = /home/vmail/dovecot-deliver.log
auth_socket_path = /var/run/dovecot/auth-master
postmaster_address = postmaster@example.com
}

protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}

auth default {
user = root

passdb sql {
args = /etc/dovecot-sql.conf
}

userdb static {
args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
}

socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
}

client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}

===============================================
I run CentOS 6 on my server and I am trying to get my Dovecot to work with MySQL and Postfix to handle multiple virtual domains/users.

I am currenty following the instructions here: http://library.linode.com/email/postfix ... l-centos-5
but the instructions are for Dovecot 1.x.

Thanks.

Author:  jackman0 [ Sun Jul 15, 2012 11:41 pm ]
Post subject:  Re: Dovecot configuration to work with MySQL and Postfix

Try running something like the following:

Code:
doveconf -n -c dovecot.conf-centos5 > dovecot.conf

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/