1 (edited by HrA 2012-01-16 20:52:04)

Topic: Dovecot stopped working after upgrade (Ubuntu)

iRedMail version 0.7.3
Linux: Ubuntu 11.10

I was called to help someone troubleshooting his iRedMail installation, as (like he said) it wasn't possible to connect to imap, even with reboot of the server.

After a bit of troubleshooting, I discovered that the dovecot, that wouldn't start, was version 2.0.13-1ubuntu3.2 and not the 1.2.15-3ubuntu2.1 it was configured with, back when iRedMail was installed.

The upgrade from the 1.2-series to 2.0-series obviously broke the configuration.

Running doveconf reveals these "issues":

# 2.0.13: /etc/dovecot/dovecot.conf
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:12: 'imaps' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:12: 'pop3s' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:56: mail_process_size has been replaced by service { vsz_limit }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:71: login_process_per_connection has been replaced by service { service_count }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:114: ssl_key_file has been replaced by ssl_key = <file
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:115: ssl_cert_file has been replaced by ssl_cert = <file
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:116: ssl_ca_file has been replaced by ssl_ca = <file
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 176: Unknown setting: sieve_global_path
doveconf: Error: managesieve-login: dump-capability process returned 89
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:12: 'imaps' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:12: 'pop3s' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:56: mail_process_size has been replaced by service { vsz_limit }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:71: login_process_per_connection has been replaced by service { service_count }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:114: ssl_key_file has been replaced by ssl_key = <file
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:115: ssl_cert_file has been replaced by ssl_cert = <file
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:116: ssl_ca_file has been replaced by ssl_ca = <file
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 176: Unknown setting: sieve_global_path

Does iRedMail support dovecot 2.0? I couldn't find any info about it.
It doesn't look like Ubuntu 11.10 has the dovecot 1.2-series in the standard repository anymore..

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Dovecot stopped working after upgrade (Ubuntu)

Different Dovecot versions will be installed on different Linux/BSD distributions and releases.
On Ubuntu 11.10, it's Dovecot-2, and it works well in iRedMail. Do you have correct apt repositories configured BEFORE iRedMail installation? Please follow our installation guide strictly: http://www.iredmail.org/install_iredmail_on_ubuntu.html

Could you please show us file content of /etc/lsb-release?