[Dovecot] Configuration Update From v1.x To v2.0.1-2

Carlos Mennens carloswill at gmail.com
Thu Aug 26 23:00:50 EEST 2010


On Thu, Aug 26, 2010 at 3:52 PM, David <lists at edeca.net> wrote:
> The command Timo gave you writes out the new configuration to
> dovecot-new.conf.  You need
>
> I recommend you backup your existing configuration first, then try and
> replace it.  Like so:
>
> $ cd /etc/dovecot/
> $ cp dovecot.conf dovecot.conf-backup-v1
> $ dovecot -n > dovecot-new.conf
> (compare dovecot-new.conf, make sure it looks sane)
> $ mv dovecot-new.conf dovecot.conf
>
> Now restart the daemon.  It is very important that you backup the existing
> configuration in case and also that you think about what each command does
> before entering it.

Thanks. I copied the config that was in dovecot-new.conf into
dovecot.conf. Now when I attempt to login, it tells me it can't find
my SSL certificates when they're clearly there. Is there something
special I need to do in /etc/dovecot/conf.d/10-ssl.conf? My mail.key
and mail.crt are correctly pathed in my now correct dovecot.conf file:

# 2.0.1: /etc/dovecot/dovecot.conf
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 = /etc/ssl/certs/mail.crt
ssl_key = /etc/ssl/private/mail.key
userdb {
  driver = passwd
}
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
}


More information about the dovecot mailing list