What I see is this when I open the 'subscribe' pane in TB:

COMMAND: [5 lsub "" "*"]
COMMAND: [9 list "" "#Users%"]
COMMAND: [10 list "" "#Users%/%"]
COMMAND: [11 lsub "" "#Public*"]
COMMAND: [12 list "" "#Public%"]
COMMAND: [13 list "" "#Public%/%"]

then I open the subtree for #Public and I see:

COMMAND: [2 list "" "#Public/%"]
RESPONSE: [* LIST (\hasnochildren) "/" "#Public/Spam"^M ]

> The difference happens when the regex is run somewhere in the code.
> 
> "#Public/*" --> Info db.c,db_findmailbox_by_regex: found [2] mailboxes
> "#Public/%" --> Info db.c, db_findmailbox_by_regex: did not find any
> mailboxes that match pattern. returning 0, nchildren = 0

That's not what I'm seeing. Are you sure your ACL is setup alright for
userid '__public__'? I understand you're using DBMA, but please check
your tables manually using the wiki as guide:

http://www.dbmail.org/dokuwiki/doku.php?id=shared-mbox

I'm beginning to suspect you may be hitting a DBMA feature/bug here.


> For second-level mailboxes (under INBOX, #Public, etc) the two
> patterns ought to return the same result, right?

Yes. And it does for me :-(

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to