[Dovecot] Dovecot Update on Ubuntu from 1.0.10 to 1.2 doesn't work
Hello,
i have an ubuntu 8.04 LTS Virtual Server with Dovecot 1.0.10 and postfix. Now i tried to update Dovecot because i need Quota, which is not possible in 1.0 but in 1.2 So i added the packages to my /etc/apt/sources.list:
deb http://codex.xiaoka.com/apt hardy main restricted deb http://archive.ubuntu.com/ubuntu hardy-backports main universe multiverse restricted
and updated dovecot with aptitude. After this i killed the proc master and restarted postfix and dovecot but now dovecot is running but doesn't get any more mails from postfix. I had to downgrade back to 1.0.10 and after this all is working again.
I immediately looked into the mail.log, but i didn't see any clear errors. I uploaded the mail.log here, maybe someone could give me a hint, what it could be:
http://7fw.de/tmp/2011-01-24-23-38-mail.log
I started the update at 2011-01-23 at 23:00 and downgraded back at 2011-01-24 at 00:26. In the error.log i only have errors about inotify, which is not available on the ubuntu server (old kernel version, cannot be updated by provider).
I set in dovecot.conf:
mail_debug=yes auth_debug=yes auth_debug_passwords=yes
but this didn't help me.
Thank you, Kind regards, franc walter
Am 24.01.2011 01:16, schrieb franc walter:
Hello,
i have an ubuntu 8.04 LTS Virtual Server with Dovecot 1.0.10 and postfix. Now i tried to update Dovecot because i need Quota, which is not possible in 1.0 but in 1.2
hm i wonder why do iam running quota with 1.x...
protocol imap { mail_plugins = quota imap_quota } protocol pop3 { mail_plugins = quota pop3_enable_last = yes pop3_uidl_format = %08Xu%08Xv } plugin { quota = maildir:ignore=Trash }
So i added the packages to my /etc/apt/sources.list:
deb http://codex.xiaoka.com/apt hardy main restricted deb http://archive.ubuntu.com/ubuntu hardy-backports main universe multiverse restricted
and updated dovecot with aptitude. After this i killed the proc master and restarted postfix and dovecot but now dovecot is running but doesn't get any more mails from postfix. I had to downgrade back to 1.0.10 and after this all is working again.
I immediately looked into the mail.log, but i didn't see any clear errors. I uploaded the mail.log here, maybe someone could give me a hint, what it could be:
http://7fw.de/tmp/2011-01-24-23-38-mail.log
I started the update at 2011-01-23 at 23:00 and downgraded back at 2011-01-24 at 00:26. In the error.log i only have errors about inotify, which is not available on the ubuntu server (old kernel version, cannot be updated by provider).
I set in dovecot.conf:
mail_debug=yes auth_debug=yes auth_debug_passwords=yes
but this didn't help me.
Thank you, Kind regards, franc walter
you should go lucid, you will get trouble with hardy anyway and use recent stable 2.09 http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.0/
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am Mon, 24 Jan 2011 09:30:53 +0100 you wrote:
hm i wonder why do iam running quota with 1.x...
protocol imap { mail_plugins = quota imap_quota } protocol pop3 { mail_plugins = quota pop3_enable_last = yes pop3_uidl_format = %08Xu%08Xv } plugin { quota = maildir:ignore=Trash }
I will try this later. But now i have a much bigger problem: dovecot still doesn't get mails although i downgraded it. In the log i can read:
dovecot: 2011-01-24 11:09:28 Info: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=127.0.0.1 rip=127.0.0.1 resp=AGZyYW5jQGV3Ni5vcmcAMzE0MTU= dovecot: 2011-01-24 11:09:28 Info: auth-worker(default): sql(francwalter@example.org,127.0.0.1): query: SELECT email as user, password FROM view_users WHERE email='francwalter@example.org'; dovecot: 2011-01-24 11:09:28 Info: auth(default): client out: OK 1 user=francwalter@example.org dovecot: 2011-01-24 11:09:28 Info: auth(default): master in: REQUEST 88 12136 1 dovecot: 2011-01-24 11:09:28 Info: auth(default): passwd(francwalter@example.org,127.0.0.1): lookup dovecot: 2011-01-24 11:09:28 Info: auth(default): passwd(francwalter@example.org,127.0.0.1): unknown user dovecot: 2011-01-24 11:09:28 Info: auth(default): master out: USER 88 francwalter@example.org uid=5000 gid=5000 home=/home/vmail/example.org/francwalter dovecot: 2011-01-24 11:09:28 Info: imap-login: Login: user=francwalter@example.org, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: 2011-01-24 11:09:28 Info: IMAP(francwalter@example.org): Effective uid=5000, gid=5000, home=/home/vmail/example.org/francwalter dovecot: 2011-01-24 11:09:28 Info: IMAP(francwalter@example.org): Namespace: type=private, prefix=INBOX., sep=., inbox=yes, hidden=no, subscriptions=no dovecot: 2011-01-24 11:09:28 Info: IMAP(francwalter@example.org): maildir: data=/home/vmail/example.org/francwalter dovecot: 2011-01-24 11:09:28 Info: IMAP(francwalter@example.org): maildir: root=/home/vmail/example.org/francwalter, index=/home/vmail/example.org/francwalter, control=, inbox= dovecot: 2011-01-24 11:09:28 Info: auth(default): new auth connection: pid=13385 dovecot: 2011-01-24 11:09:28 Info: IMAP(francwalter@example.org): Disconnected: Logged out
So i got logged out immediately. There is no visible reason for me why. Dovecot-common, dovecot-imap and dovecot-pop are back on 1.0.10 again
Amazingly this night when i downgraded, everything seemed ok, i got mails again. But not anymore. What is it? Is there a way to force dovecot to create informative logs?
I put already all this:
mail_debug=yes auth_debug=yes auth_debug_passwords=yes verbose_ssl=yes auth_verbose=yes
maybe i just don't know where to look?
I will try this later. But now i have a much bigger problem: dovecot still doesn't get mails although i downgraded it.
I found it myself. When downgrading i changed the setting for the logfile:
log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot-info.log
But the permission was 600 and owner-group was root. So postfix couldn't write in it and gave an error in mail.log:
(temporary failure. Command output: Can't open log file /var/log/dovecot-info.log: Permission denied )
After setting the logs to 666 it was ok.
participants (2)
-
franc walter
-
Robert Schetterer