Hi all,

I've done a little digging into the Thunderbird problem I've been
having. I'm comparing it with KDE's kmail, because I know kmail works
how it should.

When kmail asks for a list of subscribe-able mailboxes, it sends these
commands to the server:

 Info COMMAND: [32 LIST "" "*"]
 Info COMMAND: [33 LIST "" "#Users/*"]
 Info COMMAND: [34 LIST "" "#Public/*"]

 Info COMMAND: [35 LSUB "" "*"]
 Info COMMAND: [36 LSUB "" "#Users/*"]
 Info COMMAND: [37 LSUB "" "#Public/*"]

So it goes through each of the possibilities (*, #Users, and #Public),
asks for a LIST of all the subordinate mailboxes, then a LSUB, which
is a list of boxes I'm subscribed to. Excellent.

Thunderbird's a bit messier, because it sends two wildcards (* and %)
for *most* of the commands:

 Info COMMAND: [38 lsub "" "*"]
 Info COMMAND: [39 list "" "%"]
 Info COMMAND: [40 list "" "%/%"]

 Info COMMAND: [41 lsub "" "#Users*"]
 Info COMMAND: [42 list "" "#Users%"]
 Info COMMAND: [43 list "" "#Users%/%"]

 Info COMMAND: [44 lsub "" "#Public*"]
 Info COMMAND: [45 list "" "#Public%"]
 Info COMMAND: [46 list "" "#Public%/%"]

Kmail's commands in this format #AddressSpace/* seem to work okay, but
for some reason Thunderbird isn't sending those commands - it's
sending pretty much everything *but* that format. Specifically, it's
not asking for either an LSUB or a LIST of #Public/* and #Users/*,
which is what dbmail-imapd seems to want.

There's no difference in the CAPABILITY response from DBMail at the
beginning either. Here's kmail:

 Debug RESPONSE: [* CAPABILITY IMAP4 IMAP4rev1 AUTH=LOGIN ACL
NAMESPACE CHILDREN SORT QUOTA]

And here's Thunderbird:

 Debug RESPONSE: [* CAPABILITY IMAP4 IMAP4rev1 AUTH=LOGIN ACL
NAMESPACE CHILDREN SORT QUOTA]

There's also no difference to the responses to NAMESPACE either.
Here's what kmail gets:

 Debug RESPONSE: [* NAMESPACE (("" "/")) (("#Users" "/")) (("#Public" "/"))]

And Thunderbird:

 Debug RESPONSE: [* NAMESPACE (("" "/")) (("#Users" "/")) (("#Public" "/"))]

So why isn't Thunderbird asking the right questions? A workaround
would probably work if we added '%' as an allowed wildcard in the
code. I'm pretty illiterate when it comes to C++, so I have no idea
where this should go, or even if it's a good idea.

Best,

.....jurgen

On 05/07/06, jurgen <[EMAIL PROTECTED]> wrote:
Heya

I'm pretty sure that's not it. In the course of testing, I've opened
and closed Thunderbird dozens of times, re-created the account a
handful of times, and even deleted the entire Thunderbird settings
directory (it's not my regular MUA, so I can thrash it with a certain
amount of abandon). All through this, I've had no luck scanning for
subscribe-able folders. I can't tell from the logs what Kmail (for
example) is doing and Thunderbird isn't. If I have some more time
today, I'll bash my head on this some more.

.....jurgen

  On 05/07/06, M. J. [Mike] OBrien <[EMAIL PROTECTED]> wrote:
> I saw that once and thought it had to do with how T-Bird is storing/caching
> its data because in order for things to work correctly I had to close and
> then reopen the application.
>
> best...
> Mike
>
>
> ----- Original Message -----
> From: "jurgen" <[EMAIL PROTECTED]>
> To: "DBMail mailinglist" <dbmail@dbmail.org>
> Sent: Tuesday, July 04, 2006 1:03 AM
> Subject: [Dbmail] Thunderbird can't see #Public, other MUAs can
>
>
> > Hi all,
> >
> > I've seen a few messages about this on the list, but nothing really
> > that resolves the issue.
> >
> > Using DBMA, I made a couple of shared folders, and they don't show up
> > as anything I can subscribe to in Thunderbird. Webmail clients and
> > Kmail see them just fine, but not Thunderbird. When I list ACLs in
> > DBMA, I get both of them, listed as user "anyone", and DBMA prefixes
> > the name with #Public automatically. They both also have lookup = 1 in
> > the table. So they should be showing up. Something about Thunderbird
> > is preventing these from being seen.
> >
> > I changed the "IMAP server directory" in Thunderbird to #Public, which
> > made the shared folders appear, but also caused all the folders under
> > INBOX (Read mail, etc) to disappear. So that's not too good either. I
> > managed to terminally confuse Thunderbird by doing that too, and had
> > to eventually delete the account and start over.
> >
> > I've successfully subscribed to public mailboxes from inside Kmail,
> > and they show up in Thunderbird, but that's a pain in the butt to have
> > to do every time. Any ideas why Thunderbird appears to dislike DBMail?
> >
> > DBMail: SVN 2191
> > DBMA: 2.4.9
> > MySQL: 4.1.20
> > Thunderbird: version 1.5.0.4 (20060530) (MacOS X and Windows XP)
> >
> > Thanks
> >
> > .......jurgen
> >
> >
> > --
> > [EMAIL PROTECTED] is jurgen's gmail address.
> > Visit http://jurgen.ca/ for more yummy goodness.
> > _______________________________________________
> > Dbmail mailing list
> > Dbmail@dbmail.org
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
>
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>


--
[EMAIL PROTECTED] is jurgen's gmail address.
Visit http://jurgen.ca/ for more yummy goodness.



--
[EMAIL PROTECTED] is jurgen's gmail address.
Visit http://jurgen.ca/ for more yummy goodness.

Reply via email to