#198235 Subject: uw-imapd-ssl: Reports incorrect number of unread messages

#198235#5
Date:
2003-06-20 20:10:40 UTC
From:
To:
When I check mail on my IMAP server, my mail client informs me that I have 23
unread messages in my inbox. However, I do not have any unread messages in my
inbox.

I initially thought it was my mail client (KMail 3.1.2), but I ran tcpdump and
captured an IMAP session, and imapd is incorrectly reporting the number of
unread messages.

#198235#10
Date:
2003-06-20 20:53:21 UTC
From:
To:
In what format are your mails stored on the imap server?

If you are using Maildir, then I am sorry - that driver, although
included until very recently in the Debian package, has not been
actively maintained for years and is known to contain bugs. It has been
removed from the latest version in sid, and I am not able to correct
bugs in earlier versions.

If you are using some other driver than Maildir (if you don't know, then
you are probably using the default mbox driver), can I then please ask
you to test the newest version from sid? If you don't want the hassle of
recompiling for Woody (which it seems you are running) you should be
able to grab a precompiled i386 package here:
http://debian.jones.dk/dists/woody/misc/binary-i386/ida/sid-jones/uw-imap/

(The brand-newest version is not yet backported, so if you don't mind
recompiling yourself then you will be better of using the source package
from sid or wait some days and hope that I get the time to backport it).

Kind regards,

 - Jonas

#198235#15
Date:
2003-06-21 18:08:52 UTC
From:
To:
I'm using the default mbox driver. I'll take a look at backporting
7:2002ddebian1-1, but if it's too much hassle, I'll just use your binaries.

#198235#20
Date:
2003-06-21 20:05:25 UTC
From:
To:
I just tried the binary packages from the URL you provided, and they exhibit
the same bug. It says that there are 23 unread messages in my inbox, when
there are 0. It also says that there are 4 unread messages in my Spam folder,
when there are no messages in that folder at all.

Hmm. Stranger yet, I just looked at the Spam mbox, and there are four messages
in it that aren't showing up in KMail. I wonder if this really is a client
bug. I think I'll go find another IMAP client and see if the messages show up
with that.

I haven't backported the packages in sid because I don't want to get involved
backporting it's build-deps.

Incidentally, the binary packages you provided don't support LOGIN like the
woody packages do. Is this intentional? It seems like it should support the
same features to smooth the upgrade from woody.

#198235#25
Date:
2003-08-24 18:11:25 UTC
From:
To:
Hi,

You wrote:

Did you dig out something new? If you believe the problem to be related
to your client (KMail have had its share of problems in the past) then
please let me know, so I can close this bugreport.

This is intentional. UW-IMAP follows IETF recommendations by default,
and they have changed since woody. A debconf question asks wether you
want to keep the old behavior instead, but default is to follow the new
IETF recommendations.

 - Jonas