<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Em 22/01/2018 18:46, Dan White escreveu:<br>
<blockquote type="cite"
cite="mid:20180122214620.p7g4k3hh7ng2s3c2@dan.olp.net">On
01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote:
<br>
<blockquote type="cite">imap_renamemailbox($mbox, "$mailbox",
"$mailbox"."TODELETE")
<br>
</blockquote>
<br>
Was this performed as an admin?
<br>
</blockquote>
<br>
Yes. In a huge list of imap accounts I THOUGHT were unused<br>
<br>
<blockquote type="cite"
cite="mid:20180122214620.p7g4k3hh7ng2s3c2@dan.olp.net">
<br>
<blockquote type="cite">Some mailboxes were erroneusly renamed to
"loginTODELETE" and I need to put them back to the original
name.
<br>
<br>
I reverted this command, like: imap_renamemailbox($mbox,
"$mailbox"."TODELETE", "$mailbox")
<br>
<br>
And the mailbox seems to be there with the correct name. It
lists all folders, but they all show up as EMPTY.
<br>
<br>
We use roundcube as client and it always says "no messages was
found"
<br>
<br>
I've already tried like "cyrus reconstruct -r -f
user/personlogin" with no luck !!!
<br>
</blockquote>
<br>
What is your Cyrus version, and what does a sanitized copy of your
<br>
imapd.conf look like?
<br>
</blockquote>
2.5.10<br>
configdirectory: /var/lib/cyrus<br>
proc_path: /dev/shm/cyrus/proc<br>
mboxname_lockpath: /dev/shm/cyrus/lock<br>
defaultpartition: default<br>
partition-default: /var/spool/cyrus/mail<br>
partition-news: /var/spool/cyrus/news<br>
newsspool: /var/spool/news<br>
altnamespace: no<br>
unixhierarchysep: yes<br>
reject8bit: yes<br>
lmtp_downcase_rcpt: yes<br>
admins: admin<br>
allowanonymouslogin: no<br>
popminpoll: 0<br>
autocreate_quota: 0<br>
umask: 077<br>
hashimapspool: true<br>
allowplaintext: yes<br>
sasl_mech_list: PLAIN<br>
lmtp_strict_quota: 1<br>
allowusermoves: true<br>
<br>
<blockquote type="cite"
cite="mid:20180122214620.p7g4k3hh7ng2s3c2@dan.olp.net"><br>
<br>
If you have unixhierarchysep turned off, then you'd want:
<br>
<br>
cyrreconstruct -r -f user.personlogin
<br>
<br>
Please make sure you have a backup of the current state of your
mailstore
<br>
before proceeding, in addition to whatever backups you had prior
to
<br>
modification.
<br>
</blockquote>
<br>
I've done that. But in the cyrus.header, the "todelete" is still
there, although in lower case..<br>
I think that is the big problem!!<br>
<br>
<blockquote type="cite"
cite="mid:20180122214620.p7g4k3hh7ng2s3c2@dan.olp.net">The '^'
implies you have unixhierarchysep turned off, based on this:
<br>
<br>
<a class="moz-txt-link-freetext" href="https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal">https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal</a>
<br>
<br>
See the /doc/internal documentation within the source as well.
<br>
<br>
<blockquote type="cite">iury.pintotodelete lrswipkxtecda
<br>
</blockquote>
<br>
</blockquote>
<br>
But it is enabled.. should I disable it or what?<br>
I just renamed another imap account from "loginTODELETE" to "login"
and even after Reconstruct, it shows on cyrus.header:<br>
<blockquote>root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia#
cat cyrus.header<br>
Cyrus mailbox header<br>
"The best thing about this system was that it had lots of goals."<br>
--Jim Morris on Andrew<br>
user.ana^claudia 2696fec95963d41f<br>
$MDNSent $Forwarded <br>
ana.claudiatodelete lrswipkxtecda<br>
</blockquote>
<br>
Is this incorrect header file that is causing all this users folders
to appears as empty ?? why reconstruct isnt' fixing it ??!<br>
<pre class="moz-signature" cols="72">--
Atenciosamente / Best Regards,
Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751</pre>
</body>
</html>