Topic: Failed Dovecot upgrade and rollback
==== Required information ====
- iRedMail version: 0.8.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 5.6
- Related log if you're reporting an issue:
====
I've been up for hours trying to fix this.
I decided it was time to upgrade from Dovecot 1.2.16 to Dovecot 2.0.21. I followed the tutorial at:
http://www.iredmail.org/forum/topic4493 … tos-5.html
and it didn't go well. After I got through the install, the server was throwing errors like this:
Nov 1 07:11:39 mail2 postfix/smtpd[10736]: warning: SASL: Connect to /var/spool/postfix/private/dovecot-auth failed: No such file or directory
Nov 1 07:11:39 mail2 postfix/smtpd[10736]: fatal: no SASL authentication mechanisms
So, after trying several things to make it work, I gave up and removed the new Dovecot packages and reinstalled the original Dovecot 1.2.16 and associated sieve and managesieve packages, and restored my original dovecot.conf that I had backed up. At this point that's where I am, and I undid the changes I made to postfix/main.cf to try to solve this. But, I am still getting the same errors shown above.
I finally resorted to deleting the authdb pipe in /var/run/dovecot per someone elses suggestion, and it did not recreate itself. So now I don't know how to restore that either.
I'm lost. I have triple checked all permissions, settings in both dovecot.conf and postfix/main.cf, and still it doesn't work. Dovecot is running, but no mail is being delivered.
My last resort is to set up a new server and migrate to it, but I'm hoping that I don't have to since there are over 1000 users on over 200 domains and there's about 160GB of mail to move.
Help!
I'm still getting the same errors.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.