<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">Em 22/01/2018 19:47, Dan White
escreveu:<br>
</div>
<blockquote type="cite"
cite="mid:20180122224701.um6pjb5u5y74af42@dan.olp.net">On
01/22/18 19:02 -0300, Heiler Bemerguy via Info-cyrus wrote:
<br>
<blockquote type="cite">Em 22/01/2018 18:46, Dan White escreveu:
<br>
<blockquote type="cite">On 01/22/18 17:44 -0300, Heiler Bemerguy
via Info-cyrus wrote:
<blockquote type="cite">imap_renamemailbox($mbox, "$mailbox",
"$mailbox"."TODELETE") </blockquote>
<br>
Was this performed as an admin? </blockquote>
<br>
Yes. In a huge list of imap accounts I THOUGHT were unused
<br>
</blockquote>
<br>
What is an example of "$mailbox"?
<br>
</blockquote>
<br>
"{localhost:143}user/acom" would be an example<br>
<br>
<blockquote type="cite"
cite="mid:20180122224701.um6pjb5u5y74af42@dan.olp.net">
<br>
<blockquote type="cite">I just renamed another imap account from
"loginTODELETE" to "login" and
<br>
even after Reconstruct, it shows on cyrus.header:
<br>
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 ana.claudiatodelete lrswipkxtecda
<br>
</blockquote>
<br>
On a similar version of Cyrus, with the same
altnamespace/unixhierarchysep
<br>
config:
<br>
<br>
cyradm --user=cyrus <host>
<br>
host> cm user/first.last
<br>
<br>
Contents of cyrus.header:
<br>
<br>
host# cat /var/spool/cyrus/mail/f/user/first^last/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>
55eee0815a6664c2
<br>
<br>
first.last lrswipkxtecdan
<br>
<br>
host> lm user/f*
<br>
user/first.last (\HasNoChildren) host> setacl user/first.last
cyrus all
<br>
host> rename user/first.last user/first.last.TODELETE
<br>
host> lm user/f*
<br>
user/first.last.TODELETE (\HasNoChildren) <br>
Contents of cyrus.header:
<br>
<br>
host# cat
/var/spool/cyrus/mail/f/user/first^last^TODELETE/cyrus.header
Cyrus mailbox header
<br>
"The best thing about this system was that it had lots of goals."
<br>
--Jim Morris on Andrew
<br>
55eee0815a6664c2
<br>
<br>
cyrus lrswipkxtecdan first.last.todelete lrswipkxtecdan
<br>
<br>
host> rename user/first.last.TODELETE user/first.last
<br>
host> lm user/f*
<br>
user/first.last (\HasNoChildren) <br>
The cyrus.header may not be directly related to your problem.
Verify your
<br>
mailboxes list, with cyradm, and use use it to perform your
renames, as an
<br>
admin user.
<br>
<br>
</blockquote>
A wrong cyrus.header content wouldn't show the mailbox as empty?<br>
At least while renaming via PHP's "imap_renamemailbox", the last
line of it is not matching the mailbox name. I just checked again:<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>
<b>user.ana^claudia</b> 2696fec95963d41f<br>
$MDNSent $Forwarded <br>
<b>ana.claudiatodelete</b> lrswipkxtecda<br>
</blockquote>
I don't even know exactly what it means. But it's clear that it
shoudn't be that way. If I'm not wrong, I've already deleted it, but
Reconstruct writes it again with "ana.claudiatodelete". Where does
Reconstruct get the "old" name?<br>
<br>
<br>
Now I just renamed like you did, with cyradmin.. and guess what?
another wrong cyrus.header:<br>
<br>
<blockquote>root@mailer:~# cyradm --user=admin localhost<br>
Password: <br>
localhost> rename user/asaudeTODELETE user/asaude<br>
localhost> quit<br>
<br>
root@mailer:/var/spool/cyrus/mail/a/user/<b>asaude</b># 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>
<b>user.asaude</b> 62c4f1d44c54c32e<br>
<br>
<b>asaudetodelete </b>lrswipkxtecda<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Atenciosamente / Best Regards,
Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751</pre>
</body>
</html>