Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED IMAP: Moving messages between folders (bash)

Discussion in 'E-mail Discussions' started by Rogerio, Jan 20, 2017.

  1. Rogerio

    Rogerio Member

    Joined:
    Sep 26, 2016
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sao Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Hello,

    my users have sent messages in "Itens Enviados" (portuguese) folder, created by OutLook. I've moved all messages from ".Itens Enviados\cur" to ".Sent\cur". Messages are not appearing on webmail and mail clients (IMAP). But, on the server, all files are in there, with correct permissions and owner.

    How can I "resync" the folder, to show the moved messages?

    Thank you.
     
  2. Rogerio

    Rogerio Member

    Joined:
    Sep 26, 2016
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sao Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Webmail only shows 2 messages (server is named Juno). The old server is Mercurio.
    All messages have the same permissions. I dont know why don't show them...

    Code:
    (...)
    -rw-r----- 1 ctn ctn 45571 Dec 17 2014 1418823781.M986465P6126.mercurio.example.adm.br,S=45571,W=46412:2,S
    -rw-r----- 1 ctn ctn 64469 Dec 17 2014 1418824150.M161611P6126.mercurio.example.adm.br,S=64469,W=65522:2,S
    -rw-r----- 1 ctn ctn 3571 Dec 17 2014 1418832403.M848454P22802.mercurio.example.adm.br,S=3571,W=3682:2,S
    -rw-r----- 1 ctn ctn 4435 Dec 17 2014 1418844526.M709905P10723.mercurio.example.adm.br,S=4435,W=4579:2,S
    -rw-r----- 1 ctn ctn 43408 Dec 17 2014 1418845831.M562802P12841.mercurio.example.adm.br,S=43408,W=44193:2,S
    -rw-r----- 1 ctn ctn 43231 Dec 18 2014 1418909121.M260400P3741.mercurio.example.adm.br,S=43231,W=44012:2,S
    -rw-r----- 1 ctn ctn 1250184 Dec 18 2014 1418923142.M753690P25899.mercurio.example.adm.br,S=1250184,W=1266617:2,S
    -rw-r----- 1 ctn ctn 126173 Dec 18 2014 1418924600.M549730P28244.mercurio.example.adm.br,S=126173,W=128087:2,S
    -rw-r----- 1 ctn ctn 1732 Dec 22 2014 1419250796.M726964P20317.mercurio.example.adm.br,S=1732,W=1784:2,S
    -rw-r----- 1 ctn ctn 93756 Dec 22 2014 1419268679.M778994P16647.mercurio.example.adm.br,S=93756,W=95361:2,S
    -rw-r----- 1 ctn ctn 93836 Dec 22 2014 1419268842.M892194P16647.mercurio.example.adm.br,S=93836,W=95701:2,S
    -rw-r----- 1 ctn ctn 61356 Dec 22 2014 1419269319.M863561P16647.mercurio.example.adm.br,S=61356,W=62369:2,S
    -rw-r----- 1 ctn ctn 52097 Dec 22 2014 1419274769.M456198P27199.mercurio.example.adm.br,S=52097,W=53081:2,S
    -rw-r----- 1 ctn ctn 922 Jan 20 14:40 1484930407.M468360P27241.juno.example.com.br,S=922,W=958:2,S
    -rw-r----- 1 ctn ctn 925 Jan 20 14:44 1484930642.M597241P27890.juno.example.com.br,S=925,W=960:2,S
    
     
    #2 Rogerio, Jan 24, 2017
    Last edited by a moderator: Jan 25, 2017
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  4. Rogerio

    Rogerio Member

    Joined:
    Sep 26, 2016
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sao Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    thank you. I found the solution in another forum. The problem is that I need to delete the files "dovecot*" from the .Sent folder, to force Dovecot reindex the folder in the first access. The problem was "dovecot.index.cache" file in special. Deleting the files, all messages appear.

    Thank you.
     
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
     
Loading...

Share This Page