Notice: removal of JMAP support from stable Cyrus IMAPd 3.0.x series

2018-01-22 Thread ellie timoney
Hi all :)

We've decided to remove the experimental JMAP support from the stable Cyrus 
IMAPd 3.0.x series.  This is a minimally-invasive change, which won't affect 
other aspects of the software.

The motivation for this is the rapid evolution of the JMAP specification as it 
moves toward formal standardisation.  The changes required to keep the 3.0.x 
implementation current are far too invasive for a stable release, but letting 
it stagnate in place would only clutter up the JMAP ecosystem with incompatible 
implementations.  So, JMAP support will no longer be available in a stable 
release as of 3.0.6.

JMAP support will continue to exist in its rapidly-evolving fashion in the 
master branch and the 3.1.x development snapshots (these exist only as tags 
within the repository, they are not formal releases).  We expect JMAP to be 
standardised and fully supported in the 3.2.x stable series.

What you need to do:

* if you're not using JMAP:  nothing!  But you can read about it, if you like, 
at: http://jmap.io :)

* if you're running an experimental JMAP service:  either track the master 
branch, or the 3.1.x development snapshots

* if you're running a production JMAP service:  you probably know more about it 
than me...

* if you're developing/testing JMAP client software: track the master branch, 
join the JMAP mailing list

* if you're a package maintainer:  as above, depending on whether your package 
is oriented toward stable/production usage, or bleeding-edge/development usage

More information about JMAP is available at: http://jmap.io

And the status of the IETF Working Group is available at: 
https://datatracker.ietf.org/wg/jmap/about/

Cheers,

ellie

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


Re: please HELP

2018-01-22 Thread Patrick Boutilier

On 01/22/2018 07:55 PM, Heiler Bemerguy via Info-cyrus wrote:



The way I interpret it is that the / means unixhierarchysep is on.

Just tested this on 2.4.18 and the same thing happens. When you 
rename back no messages are listed and reconstruct does nothing.


Ah. As suspected the rights are wrong. You just need to set the rights 
back to the real user. You probably need to use / instead of .


localhost> lam user.test
testtodelete lrswipkxtecda

localhost> sam user.test test lrswipkxtecda

localhost> lam user.test
testtodelete lrswipkxtecda
test lrswipkxtecda

localhost> sam user.test testtodelete ''

localhost> lam user.test
test lrswipkxtecda


localhost> lam user/asaude
asaudetodelete lrswipkxtecda
localhost> lam user/ana^claudia
ana.claudiatodelete lrswipkxtecda
localhost>

OMG it's completely borked. Why did it happen? How it changed to 
"TODELETE" but didn't change back hours later?!?


Just looks like a bug.

 Maybe was the capital

letters?!


Yup. I tested and using capital letters causes this behaviour.




Then I'll have to change one by one? with "sam"? Could you please 
explain what you did? I understood the LAMs but didn't the SAMs lol it 
seems in your case you had two acls?! a right and a wrong?




You will have to change the rights somehow. Should be able to do it with 
a PHP or perl script.


Correct, need to remove the wrong ACL and put the correct one on. For 
example:


sam user/asaude asaudetodelete ''
sam user/asaude asaude lrswipkxtecda

First sam deletes the wrong ACL, second sam adds the correct one.

Of course those only get the InBox. For folders you will have to also do 
something like:


sam user/asaude/* asaudetodelete ''
sam user/asaude/* asaude lrswipkxtecda
<>
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

Re: please HELP

2018-01-22 Thread Heiler Bemerguy via Info-cyrus



The way I interpret it is that the / means unixhierarchysep is on.

Just tested this on 2.4.18 and the same thing happens. When you 
rename back no messages are listed and reconstruct does nothing.


Ah. As suspected the rights are wrong. You just need to set the rights 
back to the real user. You probably need to use / instead of .


localhost> lam user.test
testtodelete lrswipkxtecda

localhost> sam user.test test lrswipkxtecda

localhost> lam user.test
testtodelete lrswipkxtecda
test lrswipkxtecda

localhost> sam user.test testtodelete ''

localhost> lam user.test
test lrswipkxtecda


localhost> lam user/asaude
asaudetodelete lrswipkxtecda
localhost> lam user/ana^claudia
ana.claudiatodelete lrswipkxtecda
localhost>

OMG it's completely borked. Why did it happen? How it changed to 
"TODELETE" but didn't change back hours later?!? Maybe was the capital 
letters?!


Then I'll have to change one by one? with "sam"? Could you please 
explain what you did? I understood the LAMs but didn't the SAMs lol it 
seems in your case you had two acls?! a right and a wrong?


--
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


Re: please HELP

2018-01-22 Thread Heiler Bemerguy via Info-cyrus

  
  

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> 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

Re: please HELP

2018-01-22 Thread Patrick Boutilier

On 01/22/2018 07:01 PM, Patrick Boutilier wrote:

On 01/22/2018 06:02 PM, 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



Some mailboxes were erroneusly renamed to "loginTODELETE" and I need 
to put them back to the original name.


I reverted this command, like: imap_renamemailbox($mbox, 
"$mailbox"."TODELETE", "$mailbox")


And the mailbox seems to be there with the correct name. It lists 
all folders, but they all show up as EMPTY.


We use roundcube as client and it always says "no messages was found"

I've already tried like "cyrus reconstruct -r -f user/personlogin" 
with no luck !!!


What is your Cyrus version, and what does a sanitized copy of your
imapd.conf look like?

2.5.10
configdirectory: /var/lib/cyrus
proc_path: /dev/shm/cyrus/proc
mboxname_lockpath: /dev/shm/cyrus/lock
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: yes
reject8bit: yes
lmtp_downcase_rcpt: yes
admins: admin
allowanonymouslogin: no
popminpoll: 0
autocreate_quota: 0
umask: 077
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
lmtp_strict_quota: 1
allowusermoves: true




If you have unixhierarchysep turned off, then you'd want:

cyrreconstruct -r -f user.personlogin

Please make sure you have a backup of the current state of your 
mailstore

before proceeding, in addition to whatever backups you had prior to
modification.


I've done that. But in the cyrus.header, the "todelete" is still 
there, although in lower case..

I think that is the big problem!!


The '^' implies you have unixhierarchysep turned off, based on this:

https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal 



See the /doc/internal documentation within the source as well.


iury.pintotodelete  lrswipkxtecda




But it is enabled.. should I disable it or what?
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


Is this incorrect header file that is causing all this users folders 
to appears as empty ?? why reconstruct isnt' fixing it ??!


The way I interpret it is that the / means unixhierarchysep is on.

Just tested this on 2.4.18 and the same thing happens. When you rename 
back no messages are listed and reconstruct does nothing.


Ah. As suspected the rights are wrong. You just need to set the rights 
back to the real user. You probably need to use / instead of .


localhost> lam user.test
testtodelete lrswipkxtecda

localhost> sam user.test test lrswipkxtecda

localhost> lam user.test
testtodelete lrswipkxtecda
test lrswipkxtecda

localhost> sam user.test testtodelete ''

localhost> lam user.test
test 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






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



<>
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

Re: please HELP

2018-01-22 Thread Patrick Boutilier

On 01/22/2018 06:02 PM, 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



Some mailboxes were erroneusly renamed to "loginTODELETE" and I need 
to put them back to the original name.


I reverted this command, like: imap_renamemailbox($mbox, 
"$mailbox"."TODELETE", "$mailbox")


And the mailbox seems to be there with the correct name. It lists all 
folders, but they all show up as EMPTY.


We use roundcube as client and it always says "no messages was found"

I've already tried like "cyrus reconstruct -r -f user/personlogin" 
with no luck !!!


What is your Cyrus version, and what does a sanitized copy of your
imapd.conf look like?

2.5.10
configdirectory: /var/lib/cyrus
proc_path: /dev/shm/cyrus/proc
mboxname_lockpath: /dev/shm/cyrus/lock
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: yes
reject8bit: yes
lmtp_downcase_rcpt: yes
admins: admin
allowanonymouslogin: no
popminpoll: 0
autocreate_quota: 0
umask: 077
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
lmtp_strict_quota: 1
allowusermoves: true




If you have unixhierarchysep turned off, then you'd want:

cyrreconstruct -r -f user.personlogin

Please make sure you have a backup of the current state of your mailstore
before proceeding, in addition to whatever backups you had prior to
modification.


I've done that. But in the cyrus.header, the "todelete" is still there, 
although in lower case..

I think that is the big problem!!


The '^' implies you have unixhierarchysep turned off, based on this:

https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal 



See the /doc/internal documentation within the source as well.


iury.pintotodelete  lrswipkxtecda




But it is enabled.. should I disable it or what?
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


Is this incorrect header file that is causing all this users folders to 
appears as empty ?? why reconstruct isnt' fixing it ??!


The way I interpret it is that the / means unixhierarchysep is on.

Just tested this on 2.4.18 and the same thing happens. When you rename 
back no messages are listed and reconstruct does nothing.





--
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



<>
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

Re: please HELP

2018-01-22 Thread Dan White

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"?


What is your Cyrus version, and what does a sanitized copy of your
imapd.conf look like? 


2.5.10
configdirectory: /var/lib/cyrus
proc_path: /dev/shm/cyrus/proc
mboxname_lockpath: /dev/shm/cyrus/lock
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: yes
reject8bit: yes
lmtp_downcase_rcpt: yes
admins: admin
allowanonymouslogin: no
popminpoll: 0
autocreate_quota: 0
umask: 077
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
lmtp_strict_quota: 1
allowusermoves: true

Please make sure you have a backup of the current state of your mailstore 
before proceeding, in addition to whatever backups you had prior to 
modification. 


I've done that. But in the cyrus.header, the "todelete" is still there, 
although in lower case..
I think that is the big problem!!

The '^' implies you have unixhierarchysep turned off, based on this: 


But it is enabled.. should I disable it or what?


I do not recommend making any changes to your imapd.conf. That could make
things worse.


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^claudia2696fec95963d41f
$MDNSent $Forwarded 
ana.claudiatodelete lrswipkxtecda


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

cyradm --user=cyrus 
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.

--
Dan White

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


Re: please HELP

2018-01-22 Thread Heiler Bemerguy via Info-cyrus

  
  
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


  
  Some mailboxes were erroneusly renamed to
"loginTODELETE" and I need to put them back to the original
name.


I reverted this command, like: imap_renamemailbox($mbox,
"$mailbox"."TODELETE", "$mailbox")


And the mailbox seems to be there with the correct name. It
lists all folders, but they all show up as EMPTY.


We use roundcube as client and it always says "no messages was
found"


I've already tried like "cyrus reconstruct -r -f
user/personlogin" with no luck !!!

  
  
  What is your Cyrus version, and what does a sanitized copy of your
  
  imapd.conf look like?
  

2.5.10
configdirectory: /var/lib/cyrus
proc_path: /dev/shm/cyrus/proc
mboxname_lockpath: /dev/shm/cyrus/lock
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: yes
reject8bit: yes
lmtp_downcase_rcpt: yes
admins: admin
allowanonymouslogin: no
popminpoll: 0
autocreate_quota: 0
umask: 077
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
lmtp_strict_quota: 1
allowusermoves: true


  
  If you have unixhierarchysep turned off, then you'd want:
  
  
  cyrreconstruct -r -f user.personlogin
  
  
  Please make sure you have a backup of the current state of your
  mailstore
  
  before proceeding, in addition to whatever backups you had prior
  to
  
  modification.
  


I've done that. But in the cyrus.header, the "todelete" is still
there, although in lower case..
I think that is the big problem!!

The '^'
  implies you have unixhierarchysep turned off, based on this:
  
  
https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal
  
  
  See the /doc/internal documentation within the source as well.
  
  
  iury.pintotodelete  lrswipkxtecda

  
  


But it is enabled.. should I disable it or what?
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


Is this incorrect header file that is causing all this users folders
to appears as empty ?? why reconstruct isnt' fixing it ??!
-- 
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

Re: please HELP

2018-01-22 Thread Dan White

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?

Some mailboxes were erroneusly renamed to "loginTODELETE" and I need 
to put them back to the original name.


I reverted this command, like: imap_renamemailbox($mbox, 
"$mailbox"."TODELETE", "$mailbox")


And the mailbox seems to be there with the correct name. It lists all 
folders, but they all show up as EMPTY.


We use roundcube as client and it always says "no messages was found"

I've already tried like "cyrus reconstruct -r -f user/personlogin" 
with no luck !!!


What is your Cyrus version, and what does a sanitized copy of your
imapd.conf look like?

If you have unixhierarchysep turned off, then you'd want:

cyrreconstruct -r -f user.personlogin

Please make sure you have a backup of the current state of your mailstore
before proceeding, in addition to whatever backups you had prior to
modification.


I've noticed the cyrus.index file still mention the TODELETE name..

cat cyrus.header
Cyrus mailbox header
"The best thing about this system was that it had lots of goals."
    --Jim Morris on Andrew
user.iury^pinto 78e57a515a664ca1


The '^' implies you have unixhierarchysep turned off, based on this:

https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal

See the /doc/internal documentation within the source as well.


iury.pintotodelete  lrswipkxtecda


--
Dan White

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


please HELP

2018-01-22 Thread Heiler Bemerguy via Info-cyrus

Hi guys,

I used a php script with this command:

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

Some mailboxes were erroneusly renamed to "loginTODELETE" and I need to 
put them back to the original name.


I reverted this command, like: imap_renamemailbox($mbox, 
"$mailbox"."TODELETE", "$mailbox")


And the mailbox seems to be there with the correct name. It lists all 
folders, but they all show up as EMPTY.


We use roundcube as client and it always says "no messages was found"

I've already tried like "cyrus reconstruct -r -f user/personlogin" with 
no luck !!!


I've noticed the cyrus.index file still mention the TODELETE name..

like this:

cat cyrus.header
Cyrus mailbox header
"The best thing about this system was that it had lots of goals."
    --Jim Morris on Andrew
user.iury^pinto 78e57a515a664ca1

iury.pintotodelete  lrswipkxtecda

How can I fix it ???

--
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