[Dovecot] upgrade convert omissions

Timo Sirainen tss at iki.fi
Tue Mar 13 09:56:12 EET 2012


On 13.3.2012, at 9.27, Nick Edwards wrote:

> It did not convert over some things:
..

What Dovecot version did you use? In my test it converted everything (v2.0.18). Copy&pasting your config to a new file, adding ssl_cert + ssl_key and it produces output that converted everything (although cmusieve should be replaced with sieve):

service imap-login {
  inet_listener imap {
    address = *
    port = 143
  }
  inet_listener imaps {
    address = *
    port = 993
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/certs/dovecot.key
protocol imap {
  imap_client_workarounds = 
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %f
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  deliver_log_format = msgid=%m: from=%f: %$
  log_path = /var/log/dovecot/deliver.log
  mail_plugins = quota cmusieve
  quota_full_tempfail = no
}

> It looks like service-foobar is replacing stuff inside protocol {} but
> protocol still exists in examples, kind of confusing.

Services have replaced some settings, not protocol itself. http://wiki2.dovecot.org/Services

> Oh what about service-pop3, different than examples and service-imap,

You had explicitly set listen/ssl_listen only for imap, not for pop3, so that's what the conversion did. pop3 uses the defaults.

> where's pop3s ?

It's enabled by default. But pop3s isn't a really a "protocol", so it's no longer treated specially.

> I guess I'll just copy the service pop3 section from
> an example file.

No need to, the defaults are fine. Same with service imap actually, you could just remove it.


More information about the dovecot mailing list