<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thanks for your support.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">So a workaround would involve the migration from the flat to an hierarchical LAYOUT=fs, change the hierarchy separator to „/‟ and the namespace separator to a rarely used symbol like „§‟. Okay, that actually sounds like a nightmare to me.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> But this would not resolve the actual bug, that subscriptions</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> are not split and persisted correctly.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> In the end i would just be forced to use :LAYOUT=fs</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> to mitigate the bug, even if i like the flat layout. :-)</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">What do you think about accepting the miss-behaviour and fixing the splitting function in "subscription-file.c" ? :-D</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Best regards</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Tobias</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">--</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Rockstable IT UG (haftungsbeschränkt)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Löhrstr. 19</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">04105 Leipzig</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Sitz der Gesellschaft: Leipzig</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Registergericht: Amtsgericht Leipzig, HRB 36289</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Geschäftsführer: Tobias Stein</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">USt-IdNr.: DE324059204</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">https://www.rockstable.it/</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Free Software Foundation Europe - Was ist Freie Software?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">https://fsfe.org/freesoftware/freesoftware.de.html</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Public Money? Public Code!</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">https://publiccode.eu/de/</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Am Donnerstag, 28. Januar 2021, 16:06:46 CEST schrieb Aki Tuomi:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > On 28/01/2021 16:55 Tobias Stein <tobias_stein@rockstable.it> wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Hi Aki,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Thanks for your prompt reply! :-)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > And because i classically forgot to attach</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > the dovecot-sysreport, i'll deliver it now. :-)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Yes, you're right. Setting :LAYOUT=fs would be a workaround.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > I'd also have to migrate every</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > single mailbox to the new hierarchical layout.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > The hierarchical separator list->sep would</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > indeed change to „/‟ and the subscriptions</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > would be split differently.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Please correct me when i'm wrong, but</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > the namespace/separator would have to be changed too,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > to prevent splitting on another "wrong" position.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > The current</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > shared/root@example    com/test    subtest</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > would become to</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > shared    root@example.com    test    subtest.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Which is also wrong because there is no user shared.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > So the namespace separator could be set to again something</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > different (from „auth_username_chars‟ + "/+")</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > like „^°!§%&=?;:#¹²³‟ which all would be ugly.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > And with namespace/sep set to „°‟ leading to the form</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > shared°root@example.com°test    subtest.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > But this would not resolve the actual bug, that subscriptions</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > are not split and persisted correctly.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > In the end i would just be forced to use :LAYOUT=fs</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > to mitigate the bug, even if i like the flat layout. :-)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > I think there should be a default, which is valid</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > for a common deployment with all features working.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Maildir++ for sure is a great choice for this,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > but the implementation has a flaw:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > a hard-coded „separator‟, which collides with</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > the DNS label delimiter, when storing subscriptions.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Best Regards</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Tobias</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> You can also just change the namespace hierarchy separator to fix this:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> namespace {</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>    separator = /</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> }</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> This will cause clients to redownload mails but requires no other changes.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Aki</p>
</body>
</html>