Package: dovecot-core Version: 1:2.2.9-1 Severity: important If you perform a clean installation of dovecot-core and opt out of self-signed certificate generation, dovecot will fail to start (because dovecot.pem doesn't exist), which will cause the postinst script to fail.
If dovecot.pem doesn't exist, ssl support should be disabled (or, at minimum, the postinst script shouldn't fail.) Here's the dpkg log: -------------------- Setting up dovecot-core (1:2.2.9-1) ... Creating config file /etc/dovecot/dovecot.conf with new version Creating config file /etc/dovecot/dovecot-dict-sql.conf.ext with new version Creating config file /etc/dovecot/dovecot-sql.conf.ext with new version Creating config file /etc/dovecot/conf.d/10-auth.conf with new version Creating config file /etc/dovecot/conf.d/10-director.conf with new version Creating config file /etc/dovecot/conf.d/10-logging.conf with new version Creating config file /etc/dovecot/conf.d/10-mail.conf with new version Creating config file /etc/dovecot/conf.d/10-master.conf with new version Creating config file /etc/dovecot/conf.d/10-ssl.conf with new version Creating config file /etc/dovecot/conf.d/10-tcpwrapper.conf with new version Creating config file /etc/dovecot/conf.d/15-lda.conf with new version Creating config file /etc/dovecot/conf.d/15-mailboxes.conf with new version Creating config file /etc/dovecot/conf.d/90-acl.conf with new version Creating config file /etc/dovecot/conf.d/90-plugin.conf with new version Creating config file /etc/dovecot/conf.d/90-quota.conf with new version Creating config file /etc/dovecot/conf.d/auth-checkpassword.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-deny.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-master.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-passwdfile.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-sql.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-static.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-system.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-vpopmail.conf.ext with new version [....] Starting IMAP/POP3 mail server: dovecotdoveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 12: ssl_cert: Can't open file /etc/dovecot/dovecot.pem: No such file or directory failed! invoke-rc.d: initscript dovecot, action "start" failed. dpkg: error processing package dovecot-core (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of dovecot-imapd: dovecot-imapd depends on dovecot-core (= 1:2.2.9-1); however: Package dovecot-core is not configured yet. dpkg: error processing package dovecot-imapd (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: dovecot-core dovecot-imapd E: Sub-process /usr/bin/dpkg returned an error code (1) -- Package-specific info: -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-19-pve (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dovecot-core depends on: ii adduser 3.113+nmu3 ii debconf [debconf-2.0] 1.5.52 ii libbz2-1.0 1.0.6-5 ii libc6 2.17-97 ii libpam-runtime 1.1.3-10 ii libpam0g 1.1.3-10 ii libssl1.0.0 1.0.1e-4 ii libwrap0 7.6.q-24 ii openssl 1.0.1e-4 ii ucf 3.0027+nmu1 ii zlib1g 1:1.2.8.dfsg-1 dovecot-core recommends no packages. Versions of packages dovecot-core suggests: pn dovecot-gssapi <none> iu dovecot-imapd 1:2.2.9-1 pn dovecot-ldap <none> pn dovecot-lmtpd <none> pn dovecot-managesieved <none> pn dovecot-mysql <none> pn dovecot-pgsql <none> pn dovecot-pop3d <none> pn dovecot-sieve <none> pn dovecot-solr <none> pn dovecot-sqlite <none> pn ntp <none> Versions of packages dovecot-core is related to: ih dovecot-core [dovecot-common] 1:2.2.9-1 pn dovecot-dbg <none> pn dovecot-dev <none> pn dovecot-gssapi <none> iu dovecot-imapd 1:2.2.9-1 pn dovecot-ldap <none> pn dovecot-lmtpd <none> pn dovecot-managesieved <none> pn dovecot-mysql <none> pn dovecot-pgsql <none> pn dovecot-pop3d <none> pn dovecot-sieve <none> pn dovecot-sqlite <none> -- debconf information: * dovecot-core/create-ssl-cert: false dovecot-core/ssl-cert-exists: dovecot-core/ssl-cert-name: localhost -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

