dovecot 1.2.9 not compatible with thunderbird

Bug #685590 reported by AlainKnaff
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Fix Released
Low
Unassigned
Lucid
Won't Fix
Medium
Chuck Short
Natty
Fix Released
Low
Unassigned

Bug Description

Lucid (LTS) ships with dovecot 1.2.9 by default.
When a user attempts to log in to dovecot using thunderbird, the following is logged, and thunderbird doesn't manage to get folder contents:

Dec 5 19:26:43 hal dovecot: imap-login: Login: user=<aknaff>, method=PLAIN, rip=87.240.204.33, lip=158.64.72.230, TLS
Dec 5 19:26:43 hal dovecot: IMAP(aknaff): Panic: file cmd-list.c: line 242 (ns_get_listed_prefix): assertion failed: (match == IMAP_MATCH_YES)
Dec 5 19:26:43 hal dovecot: IMAP(aknaff): Raw backtrace: /usr/lib/dovecot/imap(+0xaeb8a) [0x7f4447a8bb8a] -> /usr/lib/dovecot/imap(+0xaebf7) [0x7f4447a8bbf7] -> /usr/lib/dovecot/imap(+0xae238) [0x7f4447a8b238] -> /usr/lib/dovecot/imap(+0x249f0) [0x7f4447a019f0] -> /usr/lib/dovecot/imap(+0x24c7d) [0x7f4447a01c7d] -> /usr/lib/dovecot/imap(cmd_list_full+0x4c6) [0x7f4447a029f6] -> /usr/lib/dovecot/imap(+0x28fad) [0x7f4447a05fad] -> /usr/lib/dovecot/imap(+0x2908d) [0x7f4447a0608d] -> /usr/lib/dovecot/imap(client_handle_input+0x135) [0x7f4447a062c5] -> /usr/lib/dovecot/imap(client_input+0x5f) [0x7f4447a06baf] -> /usr/lib/dovecot/imap(io_loop_handler_run+0xbd) [0x7f4447a9408d] -> /usr/lib/dovecot/imap(io_loop_run+0x18) [0x7f4447a93478] -> /usr/lib/dovecot/imap(main+0x58e) [0x7f4447a0ec5e] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7f444704ac4d] -> /usr/lib/dovecot/imap(+0x21979) [0x7f44479fe979]
Dec 5 19:26:43 hal dovecot: dovecot: child 28850 (imap) killed with signal 6 (core dumps disabled)

Reverting back to 1.1.11 (from previous version) makes it work again.
Rolling forward to versions more recent than 1.2.9 (from maverick or natty) doesn't work due to dependencies.

The dovecot community seems to have known about this bug since December 2009, and apparently have a fix. Wouldn't it be appropriate to make a version with this fix in available for lucid, which is an LTS version, and not supposed to ship with such show-stopper bugs (makes dovecot basically unusable, as a majority of users have thunderbird).

Thanks.

http://www.dovecot.org/list/dovecot/2009-December/045522.html

Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Changed in dovecot (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

Yes, it is reproducible: just connect to dovecot with thunderbird imap. We use Maildir.
The bug occurs even for new users.

In case I wasn't clear: this is a show stopper bug, which prevents the most popular client from connecting to dovecot, and as such is of high importance. Well, people could still use horde webmail, but it'd be rather inconvenient.

Changed in dovecot (Ubuntu):
status: Incomplete → Confirmed
Chuck Short (zulcss)
Changed in dovecot (Ubuntu Lucid):
status: New → Confirmed
Revision history for this message
John Dong (jdong) wrote :

Patch looks good to me. ACK from SRU team.

Chuck Short (zulcss)
Changed in dovecot (Ubuntu Natty):
status: Confirmed → Fix Released
Revision history for this message
Imre Gergely (cemc) wrote :

I see that there's a dovecot package in lucid-proposed with this fix. Is there a correct SRU needed with test case and such? I can't seem to reproduce this on my Lucid with stock dovecot and Thunderbird 3.1.7 with IMAP and /home/<user>/Maildir.

Revision history for this message
Martin Pitt (pitti) wrote :

Argh, someone accepted this package into -proposed without sending a call for testing and updating the flags.

Changed in dovecot (Ubuntu Lucid):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted dovecot into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

I'd really like to test the proposed package... but unfortunately I've got trouble getting it.

Can anybody tell me how to just upgrade the dovecot packages from proposed, without getting anything else (such as samba)?

Moreover, it seems that apt-get upgrade (after enabling -proposed such as described) doesn't even propose dovecot:

root@hal:~/dovecot/proposed# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  base-files consolekit grub-common libc-bin libc-dev-bin libc6 libc6-dev
  libc6-i386 libck-connector0 libpam-smbpass libsmbclient libwbclient0 samba
  samba-common samba-common-bin samba-dbg samba-doc smbclient
  unattended-upgrades upstart
20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 101MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

I tired to manually download the http://archive.ubuntu.com/ubuntu/dists/lucid-proposed/{main,universe,multiverse,restricted}/binary-amd64/Packages.gz files, but none of them mention dovecot. Any ideas?

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 685590] Re: dovecot 1.2.9 not compatible with thunderbird

Hello Alain,

AlainKnaff [2011-01-29 20:22 -0000]:
> Can anybody tell me how to just upgrade the dovecot packages from
> proposed, without getting anything else (such as samba)?

Instead of apt-get upgrade, just do

  sudo apt-get install dovecot-common dovecot-imapd

(or more dovecot-* packages, depending on which you have installed).

> Moreover, it seems that apt-get upgrade (after enabling -proposed such
> as described) doesn't even propose dovecot:

Did you run apt-get update after enabling -proposed?

Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

I ended up manually de-installing our locally made dovecot package (also numbered 1.2.12), and then everything worked fine.

The version from proposed works as expected, thanks.

Revision history for this message
Martin Pitt (pitti) wrote :
Download full text (3.4 KiB)

Hang on, the update actually never built, it failed with:

/bin/bash ../../libtool --tag=CC --mode=link i486-linux-gnu-gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -export-dynamic -Wl,-Bsymbolic-functions -o imap cmd-append.o cmd-capability.o cmd-cancelupdate.o cmd-check.o cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o cmd-enable.o cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-id.o cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o cmd-unselect.o cmd-unsubscribe.o cmd-x-cancel.o client.o commands.o commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o imap-search.o imap-search-args.o imap-status.o imap-sync.o mail-storage-callbacks.o main.o ../../src/lib-storage/register/libstorage-register.a ../../src/lib-storage/list/libstorage_list.a ../../src/lib-storage/index/cydir/libstorage_cydir.a ../../src/lib-storage/index/dbox/libstorage_dbox.a ../../src/lib-storage/index/maildir/libstorage_maildir.a ../../src/lib-storage/index/mbox/libstorage_mbox.a ../../src/lib-storage/index/raw/libstorage_raw.a ../../src/lib-storage/index/shared/libstorage_shared.a ../../src/lib-storage/index/libstorage_index.a ../../src/lib-storage/libstorage.a ../../src/lib-index/libindex.a ../../src/lib-imap/libimap.a ../../src/lib-mail/libmail.a ../../src/lib-auth/libauth.a ../../src/lib-charset/libcharset.a ../../src/lib/liblib.a ../lib-dict/libdict.a ../lib/mountpoint.o -export-dynamic -ldl -lrt
libtool: link: i486-linux-gnu-gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -Wl,-Bsymbolic-functions -o imap cmd-append.o cmd-capability.o cmd-cancelupdate.o cmd-check.o cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o cmd-enable.o cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-id.o cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o cmd-unselect.o cmd-unsubscribe.o cmd-x-cancel.o client.o commands.o commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o imap-search.o imap-search-args.o imap-status.o imap-sync.o mail-storage-callbacks.o main.o ../lib/mountpoint.o -Wl,--export-dynamic ../../src/lib-storage/register/libstorage-register.a ../../src/lib-storage/list/libstorage_list.a ../../src/lib-storage/index/cydir/libstorage_cydir.a ../../src/lib-storage/index/dbox/libstorage_dbox.a ../../src/lib-storage/index/maildir/libstorage_maildir.a ../../src/lib-storage/index/mbox/libstorage_mbox.a ../../src/lib-storage/index/raw/libstorage_raw.a ../../src/lib-storage/index/shared/libstorage_shared.a ../../src/lib-storage/index/libstorage_index.a ../../src/lib-storage/libstorage.a ../../src/lib-index/libindex.a ../../src/lib-imap/libimap.a ../../src/lib-mail/libmail.a ../../src/lib-auth/libauth.a ../../src/lib-charset/libcharset.a ../../src/lib/liblib.a ../lib-dict/libdict.a -l...

Read more...

tags: added: verification-done
removed: verification-needed
tags: removed: verification-done
Changed in dovecot (Ubuntu Lucid):
assignee: nobody → Chuck Short (zulcss)
importance: Undecided → Medium
status: Fix Committed → Triaged
Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

Ooops... actually, what seemed to have happened is that after adding lucid-proposed to /etc/apt/sources.list, I had accidentally left our own private repository in as well (lll), so all I did was just re-adding our own private version...

Sorry for that confusion.

That being said, is there an easy way to:
1) apt-get'ing something from a _specific_ repository
or
2) find out where a given installed package came from

Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in dovecot (Ubuntu Lucid):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.