<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=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 04.03.2019 um 16:35 schrieb Francis via dovecot <<a href="mailto:dovecot@dovecot.org" class="">dovecot@dovecot.org</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 10px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class="">Le jeu. 28 févr. 2019 à 11:18, Francis <<a href="mailto:francisd@gmail.com" class="">francisd@gmail.com</a>> a écrit :<br class=""></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div dir="ltr" class="">Le mar. 26 févr. 2019 à 22:58, David Myers <<a href="mailto:david.myers.24j74@gmail.com" target="_blank" class="">david.myers.24j74@gmail.com</a>> a écrit :<br class=""></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=""><div dir="auto" class="">Hello Francis,</div></div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">I wonder if this is due to how a cluster is configured to function internally.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Tell us more about the cluster, is it one of those ‘fancy pants’ high availability, auto backup heart beat things, or is it more a traditional multi server (master slave style) setup. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Either way you may need to disconnect the servers from one another and delete the offending files / directories either via dove or or via the os (although reading your original email it sounds like you are already attempting this).</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">If you have a fancy cluster this may actually be more difficult than it sounds and have interesting (unwanted) side effects, also the underlying database (if you are storing emails that way) may have a method to remove data</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">I assume you are keeping back up copies of all those emails somewhere, just in case you need them in the future. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">See this wiki article to better understand what I mean by the ‘fancy pants’ clusters :</div><div dir="auto" class=""><div class=""><a href="https://en.m.wikipedia.org/wiki/High-availability_cluster" target="_blank" class="">https://en.m.wikipedia.org/wiki/High-availability_cluster</a></div>They sound very cool, but I suspect are overkill for a mail server, unless your database is already inside one then it would make sense I guess. </div><div dir="auto" class=""><br class=""></div></blockquote><div class=""><br class=""></div><div class="">Hello,</div><div class=""><br class=""></div><div class="">I just use the cluster/replication functionality integrated into dovecot, nothing more. There is no database involved. I use LDAP for the authentication. The mails are stored locally on each server and replicated with the replication feature of dovecot.</div><div class=""><br class=""></div><div class="">I followed this wiki article:<span class="Apple-converted-space"> </span><a href="https://wiki.dovecot.org/Replication" target="_blank" class="">https://wiki.dovecot.org/Replication</a><br class=""></div><div class=""><br class=""></div></div></div></blockquote><div class=""><br class=""></div><div class="">Hello,</div><div class=""><br class=""></div><div class="">So nobody use the replication feature? or nobody never ever remove a mailbox? or maybe my question is so dumb and I should RTFM something? :) </div><div class=""><br class=""></div><div class="">Do you need more information to help me to debug that issue?</div><div class=""><br class=""></div><div class="">Thanks.</div></div></div></div></blockquote></div><div class=""><br class=""></div><br class=""><div class="">Hallo Francis,</div><div class=""><br class=""></div><div class="">have you tried removing the account from your ldap? If dovecot has no information about a particular user, it won't replicate.</div><div class=""><br class=""></div><div class="">Then you would have to delete the mailbox (on both cluster nodes) from the filesystem (rm -rf /path/to/mailbox)</div><div class="">During testing you could move the mailbox somewhere else instead of deleting it, just in case something does not work as expected.</div><div class=""><br class=""></div><div class="">Deleting files on another server could be automated with ssh (ssh keys).</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Gerald</div></body></html>