> I just created a subfolder in Apple mail. It shows up on the server as .list.Subfolder > I drug your message into the folder, and the message shows up in Mail.app and shows up in the subfolder on the server > > # ls -lnR .lists.Subfolder [10:40] [/usr/local/virtual/kremels at kreme.com/Maildir] > total 56 > drwx------ 2 89 89 512 Jul 11 10:41 cur > -rw------- 1 89 89 21 Jul 11 10:41 dovecot-keywords > -rw------- 1 89 89 109 Jul 11 10:41 dovecot-uidlist > -rw------- 1 89 89 1924 Jul 11 10:41 dovecot.index.cache > -rw------- 1 89 89 868 Jul 11 10:41 dovecot.index.log > -rw------- 1 89 89 0 Jul 11 10:35 maildirfolder > drwx------ 2 89 89 512 Jul 11 10:35 new > drwx------ 2 89 89 512 Jul 11 10:41 tmp >I?ve created a test server and found out that the driving factor is what the namespace `separator` is set to. If set to /, Apple Mail gets confused and URL-encodes it when creating a new folder. If the separator is blank (as set by default) or set to e.g. a dot, everything works just fine. Based on example and docs I found, a slash character should be good or even recommended, suggesting this is some kind of bug in Apple Mail, but I?m not versed enough in the IMAP related RFCs to understand.>> >> This definitely used to work fine in the past. >> >> Running 2.3.10.1 as part of the Mailcow suite. > > I'm not familiar with that. Is that running dovecot on your Mac? My server is a FreeBSD 12.1 machine running dovecot-2.3.10.1_2.Mailcow is a suite of server SW based on Dovecot & Postfix, intended to provide a full-featured mail server. In effect I?m running Dovecot in a Docker container on Alpine Linux. -F
On 11 Jul 2020, at 13:50, Filip Hajn? <filip at hajny.net> wrote:> > I?ve created a test server and found out that the driving factor is what the namespace `separator` is set to. If set to /, Apple Mail gets confused and URL-encodes it when creating a new folder. If the separator is blank (as set by default) or set to e.g. a dot, everything works just fine. > > Based on example and docs I found, a slash character should be good or even recommended, suggesting this is some kind of bug in Apple Mail, but I?m not versed enough in the IMAP related RFCs to understand.Interesting. I have always and only used '.' For the IMAP separator. I believe this was either reacquired or the default way back when with cyrus and I never changed it. -- Margo: P.S. We still hate you. but it's the twenty-first century. It shouldn't be this hard for a girl to get an evil demigod abortion. Eliot: And we're emotionally advanced. We can hold resentment and sympathy for a person at the same time.
> On 11. Jul 2020, at 22.50, Filip Hajn? <filip at hajny.net> wrote: > >> I just created a subfolder in Apple mail. It shows up on the server as .list.Subfolder >> I drug your message into the folder, and the message shows up in Mail.app and shows up in the subfolder on the server >> >> # ls -lnR .lists.Subfolder [10:40] [/usr/local/virtual/kremels at kreme.com/Maildir] >> total 56 >> drwx------ 2 89 89 512 Jul 11 10:41 cur >> -rw------- 1 89 89 21 Jul 11 10:41 dovecot-keywords >> -rw------- 1 89 89 109 Jul 11 10:41 dovecot-uidlist >> -rw------- 1 89 89 1924 Jul 11 10:41 dovecot.index.cache >> -rw------- 1 89 89 868 Jul 11 10:41 dovecot.index.log >> -rw------- 1 89 89 0 Jul 11 10:35 maildirfolder >> drwx------ 2 89 89 512 Jul 11 10:35 new >> drwx------ 2 89 89 512 Jul 11 10:41 tmp >> > > I?ve created a test server and found out that the driving factor is what the namespace `separator` is set to. If set to /, Apple Mail gets confused and URL-encodes it when creating a new folder. If the separator is blank (as set by default) or set to e.g. a dot, everything works just fine. > > Based on example and docs I found, a slash character should be good or even recommended, suggesting this is some kind of bug in Apple Mail, but I?m not versed enough in the IMAP related RFCs to understand.I'm Apple user. I have separator set to / and I can create folders just fine without any encoding. Can you please record imap rawlogs where it shows what command your Mail.App is sending? Sami
I am a mac user with Apple Mail as well I do not have any issues in creating new folders. I am also using qmail as my smtp. Remo> On Jul 12, 2020, at 1:36 PM, Sami Ketola <sami.ketola at dovecot.fi> wrote: > > > >> On 11. Jul 2020, at 22.50, Filip Hajn? <filip at hajny.net> wrote: >> >>> I just created a subfolder in Apple mail. It shows up on the server as .list.Subfolder >>> I drug your message into the folder, and the message shows up in Mail.app and shows up in the subfolder on the server >>> >>> # ls -lnR .lists.Subfolder [10:40] [/usr/local/virtual/kremels at kreme.com/Maildir] >>> total 56 >>> drwx------ 2 89 89 512 Jul 11 10:41 cur >>> -rw------- 1 89 89 21 Jul 11 10:41 dovecot-keywords >>> -rw------- 1 89 89 109 Jul 11 10:41 dovecot-uidlist >>> -rw------- 1 89 89 1924 Jul 11 10:41 dovecot.index.cache >>> -rw------- 1 89 89 868 Jul 11 10:41 dovecot.index.log >>> -rw------- 1 89 89 0 Jul 11 10:35 maildirfolder >>> drwx------ 2 89 89 512 Jul 11 10:35 new >>> drwx------ 2 89 89 512 Jul 11 10:41 tmp >>> >> >> I?ve created a test server and found out that the driving factor is what the namespace `separator` is set to. If set to /, Apple Mail gets confused and URL-encodes it when creating a new folder. If the separator is blank (as set by default) or set to e.g. a dot, everything works just fine. >> >> Based on example and docs I found, a slash character should be good or even recommended, suggesting this is some kind of bug in Apple Mail, but I?m not versed enough in the IMAP related RFCs to understand. > > I'm Apple user. I have separator set to / and I can create folders just fine without any encoding. Can you please record imap rawlogs where it shows what command your Mail.App is sending? > > Sami-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200712/a229ec87/attachment.html>
> 12. 7. 2020 v 22:37, Sami Ketola <sami.ketola at dovecot.fi>: > > I'm Apple user. I have separator set to / and I can create folders just fine without any encoding. Can you please record imap rawlogs where it shows what command your Mail.App is sending?I'll try on a test server. You're talking about subfolders too, right? Not just folders? -F