<div style="font-family: Tahoma; font-size: 14px;">I looked deeper into the problem.<br />Looks like the command:<br /><br />. LIST "" "Other Users"<br /><br />responds abnormally, until I run :<br /><br />. LIST "" "Other Users/%"<br /><br />that actually list the shared folders.<br /><br />Here's a trace of the imap protocol:<br /><br />* OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN SASL-IR] www Cyrus IMAP 3.0.2 server ready<br />. login gabriele.bulfon@sonicle.com Nrdstg88!<br />. OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID THREAD=ORDEREDSUBJECT THREAD=REFERENCES THREAD=REFS ANNOTATEMORE ANNOTATE-EXPERIMENT-1 METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS LIST-METADATA WITHIN QRESYNC SCAN XLIST XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 X-REPLICATION URLAUTH URLAUTH=BINARY LOGINDISABLED XCONVERSATIONS COMPRESS=DEFLATE X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE X-QUOTA=X-NUM-FOLDERS IDLE] User logged in SESSIONID=<www-26512-1503581229-1-5255668445572806864><br />. LIST "" "Other Users"<br />. OK Completed (0.010 secs)<br />. LIST "" "Other Users/%"<br />* LIST (\HasChildren) "/" "Other Users/amministrazione"<br />* LIST (\HasChildren) "/" "Other Users/dev-team"<br />* LIST (\HasChildren) "/" "Other Users/newsletter"<br />* LIST (\HasChildren) "/" "Other Users/pec"<br />* LIST (\HasChildren) "/" "Other Users/pectest"<br />* LIST (\HasChildren) "/" "Other Users/sonicle"<br />* LIST (\HasChildren) "/" "Other Users/spamadm"<br />* LIST (\HasChildren) "/" "Other Users/supporto"<br />. OK Completed (0.030 secs 162 calls)<br />. LIST "" "Other Users"<br />* LIST (\Noselect \HasChildren) "/" "Other Users"<br />. OK Completed (0.020 secs 162 calls)<br /><br />As you can see the first check on presence of "Other Users" returns nothing.<br />While the last one, after listing subfolders, returns the correct answer.<br /><br />JavaMail internally runs the check before looking for subfolders when trying to list a folder, and this fails only on "Other Users" because of the problem above.<br /><br />Any idea what's happening?<br /><br /><br />
<div id="wt-mailcard">
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Sonicle S.r.l. </strong>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Music: </strong><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Quantum Mechanics : </strong><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></span></div>
</div>
<br /><hr /><br /><br /><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><strong>From:</strong> Gabriele Bulfon <gbulfon@sonicle.com><br /><strong>To:</strong> Merlin Hartley <merlin@mrc-mbu.cam.ac.uk><br /><strong>Cc:</strong> info-cyrus@lists.andrew.cmu.edu<br /><strong>Date:</strong> August 23, 2017 5:34:11 PM CEST<br /><strong>Subject:</strong> Re: 2.4.12 vs 3.0.2 different protocol behaviour<br /></span><br /><br />
<blockquote style="border-left: #000080 2px solid; margin-left: 5px; padding-left: 5px;">
<div style="font-family: Tahoma; font-size: 14px;">In the reconstruct log, I have all the:<br /><br />Repacked user/blabla/Drafts@sonicle.com to version 13<br /><br />for all the mailbox trees.<br /><br />Obviously "Other Users" is not in reconstruct, as it is a virtual folder coming out of the incoming sharings.<br /><br />ACLs looks same with cyradm for shared folders:<br /><br />localhost> lam user/sonicle@sonicle.com<br />gabriele.bulfon@sonicle.com lrswipkxtecda<br />sonicle@sonicle.com lrswipkxtecda<br /><br />localhost> lam user/sonicle@sonicle.com<br />gabriele.bulfon@sonicle.com lrswipkxtecda<br />sonicle@sonicle.com lrswipkxtecda<br /><br /><br /><br /><br /><br />
<div id="wt-mailcard">
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Sonicle S.r.l. </strong>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Music: </strong><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Quantum Mechanics : </strong><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></span></div>
</div>
<br /><hr /><br /><br /><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><strong>From:</strong> Merlin Hartley <merlin@mrc-mbu.cam.ac.uk><br /><strong>To:</strong> Gabriele Bulfon <gbulfon@sonicle.com><br /><strong>Cc:</strong> info-cyrus@lists.andrew.cmu.edu<br /><strong>Date:</strong> August 23, 2017 5:16:22 PM CEST<br /><strong>Subject:</strong> Re: 2.4.12 vs 3.0.2 different protocol behaviour<br /></span><br /><br />
<blockquote style="border-left: #000080 2px solid; margin-left: 5px; padding-left: 5px;">Just a quickie: Are you sure these mailboxes migrated properly?
<div class=""> </div>
<div class="">M<br class="" />
<div class="">
<div class="" style="color: #000000; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="" style="color: #000000; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div class="" style="color: #000000; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">--<br class="" />Merlin Hartley<br class="" />Computer Officer</div>
<div class="" style="color: #000000; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">MRC Mitochondrial Biology Unit</div>
<div class="" style="color: #000000; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Cambridge, CB2 0XY</div>
<div class="" style="color: #000000; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">United Kingdom</div>
</div>
</div>
</div>
<br class="" />
<div>
<blockquote class="">
<div class="">On 23 Aug 2017, at 15:55, Gabriele Bulfon <<a class="" href="mailto:gbulfon@sonicle.com">gbulfon@sonicle.com</a>> wrote:</div>
<div class="">
<div class="" style="font-family: Tahoma; font-size: 14px;">I would add that both systems returns the same list of folders with :<br class="" /><br class="" />. LIST "" %<br class="" /><br class="" />including the "Other Users" :<br class="" /><br class="" />* LIST (\HasNoChildren) "/" INBOX<br class="" />* LIST (\HasChildren) "/" Archive<br class="" />...<br class="" />* LIST (\Noselect \HasChildren) "/" "Other Users"<br class="" /><br class="" />but then the java code just tries a "folder.list()" on each of them, to see for subfolders.<br class="" />Here the javamail code, before issuing the list command, tries the "checkExistance" using :<br class="" /><br class="" /><span>. LIST "" "Other Users"</span><br class="" /><br class="" />and 3.0.2 returns an empty result.<br class="" /><br class="" />Also trying by hand :<br class="" /><br class="" />. LIST "Other Users" *<br class="" /><br class="" />returns all the subtree on 2.4.12, while it's empty on 3.0.2.<br class="" /><br class="" />Any idea?<br class="" /><br class="" />Gabriele<br class="" /><br class="" /><br class="" />
<div id="wt-mailcard" class="">
<div class=""><span style="font-size: 14px; font-family: Helvetica;"><strong class="">Sonicle S.r.l. </strong>: <a class="" href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></span></div>
<div class=""><span style="font-size: 14px; font-family: Helvetica;"><strong class="">Music: </strong><a class="" href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></span></div>
<div class=""><span style="font-size: 14px; font-family: Helvetica;"><strong class="">Quantum Mechanics : </strong><a class="" href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></span></div>
</div>
<br class="" /><hr class="" /><br class="" /><br class="" /><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><strong class="">From:</strong> Gabriele Bulfon <<a class="" href="mailto:gbulfon@sonicle.com">gbulfon@sonicle.com</a>><br class="" /><strong class="">To:</strong> <a class="" href="mailto:info-cyrus@lists.andrew.cmu.edu">info-cyrus@lists.andrew.cmu.edu</a><br class="" /><strong class="">Date:</strong> August 23, 2017 4:41:36 PM CEST<br class="" /><strong class="">Subject:</strong> 2.4.12 vs 3.0.2 different protocol behaviour<br class="" /></span><br class="" /><br class="" />
<blockquote class="" style="border-left: #000080 2px solid; margin-left: 5px; padding-left: 5px;">
<div class="" style="font-family: Tahoma; font-size: 14px;">Hi,<br class="" /><br class="" />I found a problem while scanning the imap tree through our java web app, behaving differently from a 2.4.12 to a 3.0.2 upgraded.<br class="" />Looking at the protocol I find these differences:<br class="" /><br class="" />==2.4.12==<br class="" />. LIST "" "Other Users"<br class="" />* LIST (\Noselect \HasChildren) "/" "Other Users"<br class="" />. OK Completed (0.000 secs 192 calls)<br class="" /><br class="" />==3.0.2==<br class="" />. LIST "" "Other Users"<br class="" />. OK Completed (0.000 secs)<br class="" /><br class="" />So, what happens is that while the java code is checking existence of a folder in the tree, on 3.0.2 it receives an error.<br class="" />Systems are same, replicated, but one upgraded to 3.0.2, so imap base and configuration is the same, but for the 3.0.2 trimmings.<br class="" /><br class="" />Is there any setting for compatibility in this case?<br class="" /><br class="" />Thanx!<br class="" />Gabriele<br class="" /><br class="" />
<div id="wt-mailcard" class="">
<div class=""><span style="font-size: 14px; font-family: Helvetica;"><strong class="">Sonicle S.r.l. </strong>: <a class="" href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></span></div>
<div class=""><span style="font-size: 14px; font-family: Helvetica;"><strong class="">Music: </strong><a class="" href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></span></div>
<div class=""><span style="font-size: 14px; font-family: Helvetica;"><strong class="">Quantum Mechanics : </strong><a class="" href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></span></div>
</div>
</div>
<pre class="">----
Cyrus Home Page: <a class="" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>
</pre>
</blockquote>
</div>
----<br class="" />Cyrus Home Page: <a class="" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a><br class="" />List Archives/Info: <a class="" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br class="" />To Unsubscribe:<br class="" /><a class="" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<pre>----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
</pre>
</blockquote>
</div>