Hi, i am using dovecot-2.2.10-7.el7.x86_64 on centos-release-7-3.1611.el7.centos.x86_64. if i follow this tutorial https://delog.wordpress.com/2011/05/10/access-imap-server-from-the-command-line-using-openssl/ i can login to my server and successfully list the folders using tag LIST "" "*" * LIST (\HasNoChildren) "." INBOX tag OK List completed. no folders are listed using tag LIST / "*" tag OK List completed. when i request a folder listing using JavaMail it similarly sends the following command and no folders are listed a97 LIST / "*" a97 OK List completed. if i follow the tutorial again and use my gmail account instead of my dovecot installation i can successfully list folders using both methods tag LIST / "*" * LIST (\HasNoChildren) "/" "youtube" tag OK List completed. is there some way to make dovecot list folders when it receives the command LIST / "*" i note that in the listings my dovecot installation has "." in the middle and gmail has a "/"
You probably want to read the description of "reference name argument" to understand what is happening here. https://tools.ietf.org/html/rfc3501#section-6.3.8 michael> On April 17, 2017 at 8:33 AM Matthew Broadhead <matthew.broadhead at nbmlaw.co.uk> wrote: > > Hi, > > i am using dovecot-2.2.10-7.el7.x86_64 on > centos-release-7-3.1611.el7.centos.x86_64. > > if i follow this tutorial > https://delog.wordpress.com/2011/05/10/access-imap-server-from-the-command-line-using-openssl/ > i can login to my server and successfully list the folders using > tag LIST "" "*" > > * LIST (\HasNoChildren) "." INBOX > tag OK List completed. > > no folders are listed using > tag LIST / "*" > tag OK List completed. > > when i request a folder listing using JavaMail it similarly sends the > following command and no folders are listed > a97 LIST / "*" > a97 OK List completed. > > if i follow the tutorial again and use my gmail account instead of my > dovecot installation i can successfully list folders using both methods > tag LIST / "*" > > * LIST (\HasNoChildren) "/" "youtube" > tag OK List completed. > > is there some way to make dovecot list folders when it receives the command > LIST / "*" > > i note that in the listings my dovecot installation has "." in the > middle and gmail has a "/"
Thanks Michael. I have forwarded that link to the Geronimo JavaMail team in case they think of anything their end. But in the documentation you sent it seems that Dovecot should respond in the case of LIST / "*" if my understanding is correct Is there any way to adjust this behaviour in the settings? I am struggling to search for a solution to the problem given the limited information. On 18/04/2017 05:46, Michael Slusarz wrote:> You probably want to read the description of "reference name argument" to understand what is happening here. > > https://tools.ietf.org/html/rfc3501#section-6.3.8 > > michael > >> On April 17, 2017 at 8:33 AM Matthew Broadhead <matthew.broadhead at nbmlaw.co.uk> wrote: >> >> Hi, >> >> i am using dovecot-2.2.10-7.el7.x86_64 on >> centos-release-7-3.1611.el7.centos.x86_64. >> >> if i follow this tutorial >> https://delog.wordpress.com/2011/05/10/access-imap-server-from-the-command-line-using-openssl/ >> i can login to my server and successfully list the folders using >> tag LIST "" "*" >> >> * LIST (\HasNoChildren) "." INBOX >> tag OK List completed. >> >> no folders are listed using >> tag LIST / "*" >> tag OK List completed. >> >> when i request a folder listing using JavaMail it similarly sends the >> following command and no folders are listed >> a97 LIST / "*" >> a97 OK List completed. >> >> if i follow the tutorial again and use my gmail account instead of my >> dovecot installation i can successfully list folders using both methods >> tag LIST / "*" >> >> * LIST (\HasNoChildren) "/" "youtube" >> tag OK List completed. >> >> is there some way to make dovecot list folders when it receives the command >> LIST / "*" >> >> i note that in the listings my dovecot installation has "." in the >> middle and gmail has a "/"