Move Dovecot Config From 1.x To 2.x

Discussion in 'Server Operation' started by carlosinfl, Mar 23, 2011.

  1. carlosinfl

    carlosinfl New Member

    I have a very basic "working" Dovecot configuration from 1.x as shown below:

    Code:
    auth_mechanisms = plain login
    mail_location = maildir:~/mail
    passdb {
      driver = pam
    }
    protocols = imap
    service auth {
      unix_listener auth-client {
        group = postfix
        mode = 0660
        user = postfix
      }
      user = root
    }
    ssl_cert = </some/dir/cert.pem
    ssl_key = </some/dir/key.pem
    userdb {
      driver = passwd
    }
    #protocol imap {
    #  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
    #}
    My question is I've built a new server and now it has Dovecot 2.0.11 & I would like to know if I need to generate a new configuration file or will the above 1.x work in 2.0.11? The configuration file 'dovecot.conf' generated by 2.0.11 is all commented out and I don't know what I need to uncomment / add to the config to get IMAP working.

    Code:
    [root@mail /]# doveconf -n | head -2
    # 2.0.11: /etc/dovecot/dovecot.conf
     

Share This Page