Re: please HELP

Heiler Bemerguy via Info-cyrus <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Em 22/01/2018 19:47, Dan White
escreveu:

On
01/22/18 19:02 -0300, Heiler Bemerguy via Info-cyrus wrote:

Em 22/01/2018 18:46, Dan White escreveu:

On 01/22/18 17:44 -0300, Heiler Bemerguy
via Info-cyrus wrote:

imap_renamemailbox($mbox, "$mailbox",
"$mailbox"."TODELETE")

Was this performed as an admin?

Yes. In a huge list of imap accounts I THOUGHT were unused

What is an example of "$mailbox"?

"{localhost:143}user/acom" would be an example

I just renamed another imap account from
"loginTODELETE" to "login" and

even after Reconstruct, it shows on cyrus.header:

root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia# cat
cyrus.header

Cyrus mailbox header

"The best thing about this system was that it had lots of
goals."

--Jim Morris on Andrew

user.ana^claudia 2696fec95963d41f

$MDNSent $Forwarded ana.claudiatodelete lrswipkxtecda

On a similar version of Cyrus, with the same
altnamespace/unixhierarchysep

config:

cyradm --user=cyrus <host>

host> cm user/first.last

Contents of cyrus.header:

host# cat /var/spool/cyrus/mail/f/user/first^last/cyrus.header

Cyrus mailbox header

"The best thing about this system was that it had lots of goals."

--Jim Morris on Andrew

55eee0815a6664c2

first.last lrswipkxtecdan

host> lm user/f*

user/first.last (\HasNoChildren) host> setacl user/first.last
cyrus all

host> rename user/first.last user/first.last.TODELETE

host> lm user/f*

user/first.last.TODELETE (\HasNoChildren)

Contents of cyrus.header:

host# cat
/var/spool/cyrus/mail/f/user/first^last^TODELETE/cyrus.header
Cyrus mailbox header

"The best thing about this system was that it had lots of goals."

--Jim Morris on Andrew

55eee0815a6664c2

cyrus lrswipkxtecdan first.last.todelete lrswipkxtecdan

host> rename user/first.last.TODELETE user/first.last

host> lm user/f*

user/first.last (\HasNoChildren)

The cyrus.header may not be directly related to your problem.
Verify your

mailboxes list, with cyradm, and use use it to perform your
renames, as an

admin user.

A wrong cyrus.header content wouldn't show the mailbox as empty?

At least while renaming via PHP's "imap_renamemailbox", the last
line of it is not matching the mailbox name. I just checked again:

root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia#
cat cyrus.header

Cyrus mailbox header

"The best thing about this system was that it had lots of goals."

--Jim Morris on Andrew

user.ana^claudia 2696fec95963d41f

$MDNSent $Forwarded

ana.claudiatodelete lrswipkxtecda

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?

Now I just renamed like you did, with cyradmin.. and guess what?
another wrong cyrus.header:

root@mailer:~# cyradm --user=admin localhost

Password:

localhost> rename user/asaudeTODELETE user/asaude

localhost> quit

root@mailer:/var/spool/cyrus/mail/a/user/asaude# cat
cyrus.header

Cyrus mailbox header

"The best thing about this system was that it had lots of goals."

--Jim Morris on Andrew

user.asaude 62c4f1d44c54c32e

asaudetodelete lrswipkxtecda

--
Atenciosamente / Best Regards,

Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.