user attempts to create folders with / dovecot naturally cannot create it so it returns error but outlook of course "create" it and keep data in local store only. data is lost when you remove local store .pst file. The question is - can dovecot be configured so it will automatically replace slash in name with something else?
+1 A similar problem occurs with "." Sent from ProtonMail Mobile On Fri, Sep 28, 2018 at 15:44, Wojciech Puchar <wojtek at puchar.net> wrote:> user attempts to create folders with / > dovecot naturally cannot create it so it returns error but outlook of > course "create" it and keep data in local store only. data is lost when > you remove local store .pst file. > > The question is - can dovecot be configured so it will automatically > replace slash in name with something else?-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180929/c83e779d/attachment.html>
> On 29 September 2018 at 10:05 Rupert Gallagher <ruga at protonmail.com> wrote: > > > +1 > > A similar problem occurs with "." > > Sent from ProtonMail Mobile > > On Fri, Sep 28, 2018 at 15:44, Wojciech Puchar <wojtek at puchar.net> wrote: > > > user attempts to create folders with / > > dovecot naturally cannot create it so it returns error but outlook of > > course "create" it and keep data in local store only. data is lost when > > you remove local store .pst file. > > > > The question is - can dovecot be configured so it will automatically > > replace slash in name with something else?And how would this help? Outlook would still go ahead and create the folder with / in it, and dovecot would create a folder with, say - in it and now you'd have two folders. Aki
On 28 Sep 2018, at 16.44, Wojciech Puchar <wojtek at puchar.net> wrote:> > user attempts to create folders with / dovecot naturally cannot create it so it returns error but outlook of course "create" it and keep data in local store only. data is lost when you remove local store .pst file. > > The question is - can dovecot be configured so it will automatically replace slash in name with something else?https://wiki2.dovecot.org/Plugins/Listescape <https://wiki2.dovecot.org/Plugins/Listescape> maybe? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181001/0d3409f8/attachment.html>
I tell users to limit the folder characters to /0-9a-zA-Z_/, because anything else may upset a mail client or server. As I have no control over their minds, hands, and client software, I wish I could enforce the policy from the server, returning an error message to the client. On its turn, this requires the client to listen to such server messages, operated by a smarter user. At the end of the day, it feels like we are re-discovering the wheel, as such problems should have been addressed and solved long ago by an RFC. Listescape is a welcome patch. Let see if it works. I just have to select a character that no user could type and still practical for the filesystem to use... On Mon, Oct 1, 2018 at 10:07, Timo Sirainen <tss at iki.fi> wrote:> On 28 Sep 2018, at 16.44, Wojciech Puchar <wojtek at puchar.net> wrote: > >> user attempts to create folders with / dovecot naturally cannot create it so it returns error but outlook of course "create" it and keep data in local store only. data is lost when you remove local store .pst file. >> >> The question is - can dovecot be configured so it will automatically replace slash in name with something else? > > https://wiki2.dovecot.org/Plugins/Listescape maybe?-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181001/78c27b65/attachment.html>
this seems to form properly. thank you very much On Mon, 1 Oct 2018, Timo Sirainen wrote:> On 28 Sep 2018, at 16.44, Wojciech Puchar <wojtek at puchar.net> wrote: > > user attempts to create folders with / dovecot naturally cannot create it so it returns error but outlook of course > "create" it and keep data in local store only. data is lost when you remove local store .pst file. > > The question is - can dovecot be configured so it will automatically replace slash in name with something else? > > > https://wiki2.dovecot.org/Plugins/Listescape?maybe? > > >
On 2018-10-01 04:07, Timo Sirainen wrote:> > https://wiki2.dovecot.org/Plugins/Listescape?maybe?It should be mentioned somehow that one can't just change the hierarchy separator on the fly (without manual changes to the fs). If you used . as the separator, it would look this in the filesystem: .testfolder.sub1 Now you change the separator to $. Your mail client will see the existing folders as .testfolder.sub1 instead of: testfolder sub1 Cheers, K. C. -- regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 /* Thou shalt not follow the NULL pointer for chaos and madness await thee at its end. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20181002/676c9aa5/attachment.sig>