A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=725 
====================================================================== 
Reported By:                bslagter
Assigned To:                paul
====================================================================== 
Project:                    DBMail
Issue ID:                   725
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
target:                      
====================================================================== 
Date Submitted:             02-Sep-08 22:06 CEST
Last Modified:              24-Feb-09 11:01 CET
====================================================================== 
Summary:                    Fix Thunderbird and ACL shared folders
Description: 
Shared personal folders (in IMAP #Users namespace) won't show up in the
Mozilla Thunderbird "Subscribe" window. 

This is confirmed to be a bug by Paul Stevens on the dbmail mailinglist:

[quote]
It's a dbmail bug.

If you issue a simple 'x LIST "" *' mailboxes the current user has 'l'
permissions on below #Users will show up nicely. This is what SM does.
However, TB uses 'x LIST "" #Users*' which is currently not allowed by
dbmail. It should be however. TB also tries to fall back to addition
variations, but those also fail.

Please file a bug someone.
====================================================================== 

---------------------------------------------------------------------- 
 (0002610) casper (reporter) - 02-Oct-08 16:01
 http://www.dbmail.org/mantis/view.php?id=725#c2610 
---------------------------------------------------------------------- 
Is this going to be fixed in the 2.2 branch? 

---------------------------------------------------------------------- 
 (0002611) paul (administrator) - 04-Oct-08 22:32
 http://www.dbmail.org/mantis/view.php?id=725#c2611 
---------------------------------------------------------------------- 
fixed in the 2.2 tree 

---------------------------------------------------------------------- 
 (0002622) bslagter (reporter) - 14-Oct-08 09:10
 http://www.dbmail.org/mantis/view.php?id=725#c2622 
---------------------------------------------------------------------- 
1. Shared folders do show up in the "Subscribe" window now, but subscribing
doesn't work. I can select a folder, hit subscribe, but nothing happens
(nothing is changed in the dbmail_subscriptions table.

2. In the "Subscribe" window, hitting refresh will cause a part of the
shared folders to disappear. It seems that only users with folders I'm
already subscribed to will stay.

3. If I subscribe to the folder manually (by INSERTing into
dbmail_subscription), it works, but only after deleting and creating my
e-mail account.

So the fix was an improvement, but it is far from perfect yet!

If I can help with testing, let me know! 

---------------------------------------------------------------------- 
 (0002623) paul (administrator) - 25-Oct-08 16:16
 http://www.dbmail.org/mantis/view.php?id=725#c2623 
---------------------------------------------------------------------- 
would you mind testing the attached patch on top of rc2
 

---------------------------------------------------------------------- 
 (0002624) bslagter (reporter) - 04-Nov-08 14:03
 http://www.dbmail.org/mantis/view.php?id=725#c2624 
---------------------------------------------------------------------- 
Thanks Paul for your work on this issue!

We've downloaded and compiled the RC3 tarball. Unfortunately the problem
isn't solved yet. 

A shared folder (in dbmail_acl) won't show up in the subscribe window. If
I manually subscribe (using dbmail_subscription), the folder is available
immediately in Thunderbird, and removing a subscription works perfectly as
well. 

Hope you have a clue how to get that to work? 

---------------------------------------------------------------------- 
 (0002625) paul (administrator) - 04-Nov-08 16:56
 http://www.dbmail.org/mantis/view.php?id=725#c2625 
---------------------------------------------------------------------- 
I tested this using the setacl imap command and using TB to validate the
results.
What are you inserting into dbmail_acl? 

---------------------------------------------------------------------- 
 (0002626) bslagter (reporter) - 04-Nov-08 18:30
 http://www.dbmail.org/mantis/view.php?id=725#c2626 
---------------------------------------------------------------------- 
Our mailbox administration app inserts a row with the user_id, mailbox_id
and all flags set to 1. 

We assumed this would be correct since other mail clients (Evolution and
Outlook) can subscribe to these shared folders without any problems. 

---------------------------------------------------------------------- 
 (0002628) paul (administrator) - 14-Nov-08 11:08
 http://www.dbmail.org/mantis/view.php?id=725#c2628 
---------------------------------------------------------------------- 
Please test the attached patch. 

---------------------------------------------------------------------- 
 (0002790) Lord (reporter) - 23-Feb-09 17:05
 http://www.dbmail.org/mantis/view.php?id=725#c2790 
---------------------------------------------------------------------- 
After Upgrading from 2.2.11rc3 to 2.2.11 I got a problem with a Blackberry
Internet Service. After tacking the problem down I think its because this
patch
http://git.dbmail.eu/?p=paul/dbmail;a=commit;h=4198e041af8e5d2356ca2a9fb30a6a41e4f80b6c
added the \noselect option to the LIST reply of INBOX

RC3 returns:
* LIST (\haschildren) "/" "INBOX"

so the Blackberry returns a SELECT "INBOX" and starts to fetch Mails

in 2.2.11 Final it gets:
* LIST (\noselect \haschildren) "/" "INBOX"

the Blackberry returns a LOGOUT and don't fetch mails...

I think that the Blackberry Server think it can't joins the INBOX and
don't select the INBOX and so don't get the trigger to fetch Mails

the question is, who's wrong ;-)
And is a workaround possible? 

---------------------------------------------------------------------- 
 (0002794) paul (administrator) - 24-Feb-09 09:14
 http://www.dbmail.org/mantis/view.php?id=725#c2794 
---------------------------------------------------------------------- 
Could you please provide the LIST command sent by your blackberry? 

---------------------------------------------------------------------- 
 (0002795) Lord (reporter) - 24-Feb-09 11:01
 http://www.dbmail.org/mantis/view.php?id=725#c2795 
---------------------------------------------------------------------- 
the broken version of the communication:

---------------- Read from: 172.22.14.197:143 ---------------
l OK LOGIN completed

---------------- Read from: 216.9.253.136:34047 ---------------
l LIST "" %

---------------- Read from: 172.22.14.197:143 ---------------
* LIST (\hasnochildren) "/" "Drafts"

---------------- Read from: 172.22.14.197:143 ---------------
* LIST (\hasnochildren) "/" "Gesendete Objekte"
* LIST (\haschildren) "/" "INBOX"
* LIST (\hasnochildren) "/" "INBOX.Gesendete Objekte"
* LIST (\noselect \haschildren) "/" "INBOX"

---------------- Read from: 172.22.14.197:143 ---------------
* LIST (\hasnochildren) "/" "Junk-E-Mail"

---------------- Read from: 172.22.14.197:143 ---------------
* LIST (\hasnochildren) "/" "Sent Items"
* LIST (\hasnochildren) "/" "Vorlagen"
l OK LIST completed

---------------- Read from: 216.9.253.136:34047 ---------------
l LIST "" "%/%"

---------------- Read from: 172.22.14.197:143 ---------------
* LIST (\hasnochildren) "/" "INBOX/sub"

---------------- Read from: 172.22.14.197:143 ---------------
l OK LIST completed

---------------- Read from: 216.9.253.136:34047 ---------------
q LOGOUT


PS: its not my blackberry its the vodafone internet pushservice in austria
for A1 Mobilephones 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
02-Sep-08 22:06  bslagter       New Issue                                    
02-Oct-08 15:58  casper         Issue Monitored: casper                      
02-Oct-08 16:01  casper         Note Added: 0002610                          
04-Oct-08 22:32  paul           Note Added: 0002611                          
04-Oct-08 22:32  paul           Assigned To               => paul            
04-Oct-08 22:32  paul           Status                   new => resolved     
04-Oct-08 22:32  paul           Resolution               open => fixed       
04-Oct-08 22:32  paul           Fixed in Version          => 2.2.11          
14-Oct-08 09:10  bslagter       Status                   resolved => feedback
14-Oct-08 09:10  bslagter       Resolution               fixed => reopened   
14-Oct-08 09:10  bslagter       Note Added: 0002622                          
25-Oct-08 16:15  paul           File Added: 0001-more-fixes-for-725.patch       
            
25-Oct-08 16:16  paul           Note Added: 0002623                          
04-Nov-08 14:03  bslagter       Note Added: 0002624                          
04-Nov-08 16:56  paul           Note Added: 0002625                          
04-Nov-08 18:30  bslagter       Note Added: 0002626                          
14-Nov-08 11:08  paul           Note Added: 0002628                          
23-Feb-09 17:05  Lord           Note Added: 0002790                          
23-Feb-09 17:10  nethzt         Issue Monitored: nethzt                      
24-Feb-09 09:14  paul           Note Added: 0002794                          
24-Feb-09 11:01  Lord           Note Added: 0002795                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to