<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">By the way I think I found some more…..<div class=""><br class=""></div><div class="">When a sync_client in user mode… creates a non existing user in the replica… if the user has a dot… the quota gets properly created, but seen, sub files are wrongly created… for instance….</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-------   1 cyrus  cyrus  2576528 Jul 12 13:03 f.veiga.conversations</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-------   1 cyrus  cyrus       88 Jul 12 13:03 f.veiga.counters</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-------   1 cyrus  cyrus      451 Jul 12 10:43 f.veiga.sub</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-------   1 cyrus  cyrus       16 Jul 12 01:32 f.veiga.xapianactive</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-------   1 cyrus  cyrus     2584 Apr  3 01:48 f^veiga.seen</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-rw-------   1 cyrus  cyrus      316 Apr  3 01:48 f^veiga.sub</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The Apr 3 files are from the initial sync when the box was empty… the first ones (with the dot and not ^) are the actual files being used by Cyrus…. And updated with the replication and so…</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">It seems this to be the reason because I didn’t see in the initial sync any subscribed folders… but later when set them from a mua where properly replicated…</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">With Sieve seemed to happen something similar… but in this case with the ‘^’ and ‘.’ In the directory name….</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">It’s like the name used for creating the subscribing and seen databases in a user mode replication was not properly handled by Cyrus… because it does the same as with quota database with indeed with ‘^’ is properly created….</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class="">Thanks! Bye!</div><div class=""><div class="">
<style class="">
body {
        font-family:Helvetica, Arial, sans-serif;
        font-size:12px;
        color:#333;
}
.moz-signature { color:#333!important; }
.firmasarenet {
        font-family:Helvetica, Arial, sans-serif;
        text-align:left;
        color:#333333;
}
.titulosarenet {
        font-family:Helvetica, Arial, sans-serif;
        font-weight:bold;
        font-size:12px;
        color:#333333;
}
.textosarenet {
        font-family:Helvetica, Arial, sans-serif;
        font-weight:bold;
        font-size:12px;
        color:#333333;
}
.dptosarenet { }
.imgsarenet { margin:0px 0px 10px 0px }
.imgsarenet img { }
.lnksarenet {
        color:#007AC4!important;
        font-size:12px;
        line-height:1.2;
        text-decoration:underline;
}
.firmasarenet a { color:#007ac4!important }
.imprimirsarenet {
        font-family:Helvetica, Arial, sans-serif;
        font-weight:normal;
        font-size:10px;
        line-height:1.2;
        color:#006600
}
</style>
<br class="">
<br class="">
<div style="clear:both; text-align:left;" class="firmasarenet">
  <div style="margin:0 0 10px 0" class="imgsarenet"><img src="https://www.sarenet.es/estaticos/LogoSarenetEmails.png?newlogo" alt="sarenet" class=""></div>
  <div style="font-family:Helvetica, Arial, sans-serif; font-weight:bold; font-size:14px; color:#333333" class="titulosarenet"><strong class="">Egoitz Aurrekoetxea</strong></div>
  <div style="font-family:Helvetica, Arial, sans-serif; font-weight:normal; font-size:12px; color:#333333" class="dptosarenet">Dpto. de sistemas</div>
  <div style="font-family:Helvetica, Arial, sans-serif; font-weight:normal; font-size:12px; color:#333333" class="textosarenet">944 209 470<br class="">Parque Tecnológico. Edificio 103<br class="">48170 Zamudio (Bizkaia)</div>
  <div style="font-family:Helvetica, Arial, sans-serif; font-weight:normal; font-size:12px; color:#007AC4; line-height:1.2" class="lnksarenet"><a id="mailto" style=" font-size:12px; color:#007AC4; text-decoration:underline;" href="mailto:undefined" class=""><label id="label_email" class="">egoitz@sarenet.es</label></a></div>
  <div style="font-family:Helvetica, Arial, sans-serif; font-weight:normal; font-size:12px; color:#007AC4; line-height:1.2" class="lnksarenet"><a href="http://www.sarenet.es" style=" font-size:12px; color:#007AC4; text-decoration:underline;" class="">www.sarenet.es</a></div>
  <br class="">
  <div style="font-family:Helvetica, Arial, sans-serif; font-weight:normal; font-size:10px; color:#A0C361" class="imprimirsarenet">Antes de imprimir este correo electrónico piense si es necesario hacerlo.</div>
</div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">El 10 jul 2019, a las 11:39, Egoitz Aurrekoetxea <<a href="mailto:egoitz@sarenet.es" class="">egoitz@sarenet.es</a>> escribió:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;" class="">Hi!</span><div class="" style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div><div class="" style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">It happens with any folder… in fact Trash is not the folder we would announce in special-use as Trash… it’s just a normal folder really here…. It’s a generally happening thing with rename of folders inside the own hierarchy inside the own user… (don’t really know if a rename mailbox for changing partition would have the same issue). Not something related to the Trash folder...</div><div class="" style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div><div class="" style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Cheers!<br class=""><div class=""><br class=""><br class=""><div class="firmasarenet" style="font-family: Helvetica, Arial, sans-serif; text-align: left; color: rgb(51, 51, 51); clear: both;"><div class="imgsarenet" style="margin: 0px 0px 10px;"><img src="https://www.sarenet.es/estaticos/LogoSarenetEmails.png?newlogo" alt="sarenet" class=""></div><div class="titulosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 14px; color: rgb(51, 51, 51);"><strong class="">Egoitz Aurrekoetxea</strong></div><div class="dptosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: rgb(51, 51, 51);">Dpto. de sistemas</div><div class="textosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: rgb(51, 51, 51);">944 209 470<br class="">Parque Tecnológico. Edificio 103<br class="">48170 Zamudio (Bizkaia)</div><div class="lnksarenet" style="font-size: 12px; line-height: 1.2; text-decoration: underline; color: rgb(0, 122, 196); font-family: Helvetica, Arial, sans-serif; font-weight: normal;"><a id="mailto" href="mailto:undefined" class="" style="color: rgb(0, 122, 196); font-size: 12px; text-decoration: underline;"><label id="label_email" class="">egoitz@sarenet.es</label></a></div><div class="lnksarenet" style="font-size: 12px; line-height: 1.2; text-decoration: underline; color: rgb(0, 122, 196); font-family: Helvetica, Arial, sans-serif; font-weight: normal;"><a href="http://www.sarenet.es/" class="" style="color: rgb(0, 122, 196); font-size: 12px; text-decoration: underline;">www.sarenet.es</a></div><br class=""><div class="imprimirsarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 10px; line-height: 1.2; color: rgb(160, 195, 97);">Antes de imprimir este correo electrónico piense si es necesario hacerlo.</div></div></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">El 10 jul 2019, a las 11:34, Sebastian Hagedorn <<a href="mailto:Hagedorn@uni-koeln.de" class="">Hagedorn@uni-koeln.de</a>> escribió:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">I'm curious if this only happens for rename to trash, or for all renames<br class="">of subscribed folders. IMHO it makes no sense to automatically subscribe<br class="">to a folder in the trash. So perhaps the bug isn't in the replication<br class="">code but rather in the handling of rename to trash?<br class=""><br class=""><br class="">Am 10.07.19 um 11:11 Uhr schrieb Egoitz Aurrekoetxea:<br class=""><blockquote type="cite" class="">About the folder subscription issue, I think I got something, at least a<br class="">close approximation... When a user causes in mua a rename mailbox (a<br class="">rename for a folder caused by a folder move in hierarchy), after the own<br class="">rename, if folders were subscribed “should” (for the "plain user" at<br class="">least) become subscribed in the new path. It seems that after a user<br class="">rename in Cyrus the new folder is automatically subscribed (even if no<br class="">subscribe command is sent by the mua). But this, does not cause in the<br class="">replica (in the slave, if SUB is not sent by the client)<br class="">a sync_apply_changesub() or something like entering in the<br class="">“ move_subscription” condition in mboxlist_renamemailbox(), and then,<br class="">the folder is properly renamed but not subscribed in the slave. I think<br class="">this is what I’m suffering. Obviously, if after a rename the mua sends a<br class="">subscribe too, no issue is seen. I think the problem happens when a<br class="">mailbox rename happens and a SUB is not send later.<br class=""><br class="">An example : <br class=""><br class="">The folder<span class="Apple-converted-space"> </span><a href="http://domain.com/" class="">domain.com</a><br class=""><<a href="http://domain.com/" class="">http://domain.com</a>>!user.parta^partb.Archives.2019.TRAFICO.CHINA.XINGANG<br class="">is moved (renamed) to trash.<br class=""><br class="">May 16 16:16:50 mx6c imap[83976]: conversations_rename_folder: renamed<br class=""><a href="http://domain.com/" class="">domain.com</a><br class=""><<a href="http://domain.com" class="">http://domain.com</a>>!user.parta^partb.Archives.2019.TRAFICO.CHINA.XINGANG<br class="">to <a href="http://domain.com" class="">domain.com</a> <<a href="http://domain.com" class="">http://domain.com</a>>!user.parta^partb.Trash.XINGANG<br class="">May 16 16:16:50 mx6c imap[83976]: Rename: <a href="http://domain.com" class="">domain.com</a><br class=""><<a href="http://domain.com" class="">http://domain.com</a>>!user.parta^partb.Archives.2019.TRAFICO.CHINA.XINGANG<br class="">-> <a href="http://domain.com" class="">domain.com</a> <<a href="http://domain.com" class="">http://domain.com</a>>!user.parta^partb.Trash.XINGANG<br class="">May 16 16:16:50 mx6c imap[83976]: Deleted mailbox <a href="http://domain.com" class="">domain.com</a><br class=""><<a href="http://domain.com" class="">http://domain.com</a>>!user.parta^partb.Archives.2019.TRAFICO.CHINA.XINGANG<br class=""><br class="">In the master (sync), the folder in Trash is subscribed but in the slave<br class="">it is not, and remains subscribed the folder in the original location in<br class="">the “____.sub” file.<br class=""><br class="">A diff between the master (replication client) .sub file and the slave’s<br class="">one is (mx5 is the master, the client and 6 the slave): <br class=""><br class="">--- subscripciones-mx5c/parta.partb.sub2019-07-10 08:47:29.000000000 +0200<br class="">+++ subscripciones-mx6c/parta.partb.sub2019-07-10 08:48:08.000000000 +0200<br class=""><br class="">+<a href="http://domain.com" class="">domain.com</a><br class=""><<a href="http://domain.com" class="">http://domain.com</a>>!user.parta^partb.Archives.2019.TRAFICO.CHINA.XINGANG<br class="">-<a href="http://domain.com" class="">domain.com</a> <<a href="http://domain.com" class="">http://domain.com</a>>!user.parta^partb.Trash.XINGANG<br class=""><br class="">Perhaps a move_subscription to one or sync_apply_changesub should be<br class="">forced in order to fix it?. I have seen issues with Outlook 2016 and<br class="">Thunderbird… both mua… perhaps by RFC they should send the SUB command<br class="">but… it’s the only theory I could arrive to… I have a ton more cases<br class="">like this one.. Data gets properly handled but subscriptions have this<br class="">issue (perhaps we could say is a mua issue but….)..<br class=""></blockquote><span id="cid:AA480B5B-F0ED-4405-BF94-0C5E9BBEA9A6" class=""><0x197B06994D105B45.asc></span><span id="cid:78825E9F-F0E2-41C7-A69C-EEF15C9340BB" class=""><Hagedorn.vcf></span></div></div></blockquote></div><br class=""></div><span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;" class="">----</span><br style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;" class="">Cyrus Home Page:<span class="Apple-converted-space"> </span></span><a href="http://www.cyrusimap.org/" style="font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://www.cyrusimap.org/</a><br style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;" class="">List Archives/Info:<span class="Apple-converted-space"> </span></span><a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" style="font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;" class="">To Unsubscribe:</span><br style="caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" style="font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></div></blockquote></div><br class=""></div></body></html>