Femi Ajayi
2012-May-10 16:42 UTC
[Dovecot] Converting Dovecot.conf file from Dovecot 1.x to Dovecot 2.x (Dovecot configured with work with MySQL and Postfix)
Hi Freelancers, 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 at 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/dovecot-mysql-centos-5 but the instructions are for Dovecot 1.x. Thanks in advance.
Charles Marcus
2012-May-10 16:51 UTC
[Dovecot] Converting Dovecot.conf file from Dovecot 1.x to Dovecot 2.x (Dovecot configured with work with MySQL and Postfix)
On 2012-05-10 12:42 PM, Femi Ajayi <redhat19 at gmail.com> wrote: <snip>> I am currenty following the instructions here: > http://library.linode.com/email/postfix/dovecot-mysql-centos-5 > but the instructions are for Dovecot 1.x.why two different posts on the same subject only an hour apart? I repeat: Why don't you use the *actual dovecot* documentation, instead of asking someone here to help you update *someone else's* tutorial... http://wiki2.dovecot.org/#Dovecot_configuration or maybe http://wiki2.dovecot.org/Upgrading -- Best regards, Charles
Timo Sirainen
2012-May-10 16:53 UTC
[Dovecot] Converting Dovecot.conf file from Dovecot 1.x to Dovecot 2.x (Dovecot configured with work with MySQL and Postfix)
On 10.5.2012, at 19.42, Femi Ajayi wrote:> I want to convert this Dovecot configuration file for Dovecot 1.x to a > dovecot file for Dovecot 2.xAnd it doesn't work? Why not? Works okay in v2.0.20 and newer at least. Of course, it complains about obsolete settings. But running it through doveconf like it suggests seems to give an equivalent config that would work fine without warnings.