SOLVED Sent folder different on Webmail than File Manager

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello,

I have a cPanel&WHM version 74.0.9.
Why I can see in command line and via File Manager all mails under map .Sent,

but on webmail (Roundcube) I can´t see all mails.

On command line /home/panelt/mail/panelt.org/elizabeta/.Sent/cur I see all 13mails.
Under File Manager (when I mark option -filemanager >> Settings >> view hidden files) I see also all 13 mails.

Why I can´t see all 13 mails under map Sent via webmail?

Thank you!

Best regards,
Elizabeta
 

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello,

Thank you for your answer.

The permissions/ownership on command line:

[[email protected] cur]# ls -la /home/panelt/mail/panelt.org/elizabeta/.Sent/cur
total 56
drwxr-x--x 2 panelt panelt 4096 Oct 16 12:58 .
drwxr-x--x 5 panelt panelt 135 Oct 16 12:58 ..
-rw-r--r-- 1 panelt panelt 383 Aug 22 15:19 1523274066.M144342P16114.cpanel.wh.net.ba,S=383,W=395_2,S
-rw-r--r-- 1 panelt panelt 376 Aug 22 15:20 1523344682.M272348P31723.cpanel.wh.net.ba,S=376,W=388_2,S
-rw-r--r-- 1 panelt panelt 362 Aug 22 15:19 1528724307.M301992P2434.cpanel.wh.net.ba,S=362,W=374_2,S
-rw-r--r-- 1 panelt panelt 380 Aug 22 15:19 1528893656.M91937P20171.cpanel.wh.net.ba,S=380,W=392_2,S
-rw-r--r-- 1 panelt panelt 379 Aug 22 15:20 1528894141.M117341P21775.cpanel.wh.net.ba,S=379,W=393_2,S
-rw-r--r-- 1 panelt panelt 371 Aug 22 15:20 1531310574.M279125P3388.cpanel.wh.net.ba,S=371,W=383_2,S
-rw-r--r-- 1 panelt panelt 356 Aug 22 15:20 1531823165.M719002P7671.cpanel.wh.net.ba,S=356,W=368_2,S
-rw-r--r-- 1 panelt panelt 420 Aug 22 15:20 1534837673.M710083P2353.cpanel.wh.net.ba,S=420,W=435_2,S
-rw-r----- 1 panelt panelt 393 Aug 23 15:34 1535031260.M382623P15158.cpanel.wh.net.ba,S=393,W=409:2,S
-rw-r----- 1 panelt panelt 367 Oct 2 13:51 1538481077.M256931P9130.cpanel.wh.net.ba,S=367,W=379:2,S
-rw-r----- 1 panelt panelt 364 Oct 2 13:51 1538481104.M604547P9221.cpanel.wh.net.ba,S=364,W=376:2,S
-rw-r----- 1 panelt panelt 394 Oct 16 12:29 1539685769.M848243P14193.cpanel.wh.net.ba,S=394,W=408:2,S
-rw-r----- 1 panelt panelt 381 Oct 16 12:58 1539687534.M902530P18391.cpanel.wh.net.ba,S=381,W=393:2,S

Ok, on File Manager there is also all 13 messages:

upload_2018-10-24_14-31-18.png

But how on webmail I can see just 5 messages.

I do not know where I can look permission. Is this ok with permission on command line?

Thank you!

Best regards,
Elizabeta
 

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello,

I have noticed that I have different permission on messages on command line


[[email protected] cur]# ls -la /home/panelt/mail/panelt.org/elizabeta/.Sent/cur
total 56
drwxr-x--x 2 panelt panelt 4096 Oct 16 12:58 .
drwxr-x--x 5 panelt panelt 135 Oct 16 12:58 ..
-rw-r--r-- 1 panelt panelt 383 Aug 22 15:19 1523274066.M144342P16114.cpanel.wh.net.ba,S=383,W=395_2,S
-rw-r--r-- 1 panelt panelt 376 Aug 22 15:20 1523344682.M272348P31723.cpanel.wh.net.ba,S=376,W=388_2,S
-rw-r--r-- 1 panelt panelt 362 Aug 22 15:19 1528724307.M301992P2434.cpanel.wh.net.ba,S=362,W=374_2,S
-rw-r--r-- 1 panelt panelt 380 Aug 22 15:19 1528893656.M91937P20171.cpanel.wh.net.ba,S=380,W=392_2,S
-rw-r--r-- 1 panelt panelt 379 Aug 22 15:20 1528894141.M117341P21775.cpanel.wh.net.ba,S=379,W=393_2,S
-rw-r--r-- 1 panelt panelt 371 Aug 22 15:20 1531310574.M279125P3388.cpanel.wh.net.ba,S=371,W=383_2,S
-rw-r--r-- 1 panelt panelt 356 Aug 22 15:20 1531823165.M719002P7671.cpanel.wh.net.ba,S=356,W=368_2,S
-rw-r--r-- 1 panelt panelt 420 Aug 22 15:20 1534837673.M710083P2353.cpanel.wh.net.ba,S=420,W=435_2,S
-rw-r----- 1 panelt panelt 393 Aug 23 15:34 1535031260.M382623P15158.cpanel.wh.net.ba,S=393,W=409:2,S
-rw-r----- 1 panelt panelt 367 Oct 2 13:51 1538481077.M256931P9130.cpanel.wh.net.ba,S=367,W=379:2,S
-rw-r----- 1 panelt panelt 364 Oct 2 13:51 1538481104.M604547P9221.cpanel.wh.net.ba,S=364,W=376:2,S
-rw-r----- 1 panelt panelt 394 Oct 16 12:29 1539685769.M848243P14193.cpanel.wh.net.ba,S=394,W=408:2,S
-rw-r----- 1 panelt panelt 381 Oct 16 12:58 1539687534.M902530P18391.cpanel.wh.net.ba,S=381,W=393:2,S

On webmail I can see 5 messages with permission 640 . I can not see other messages with permission 644 ?

Why is different permission on messages?

Best regards,
Elizabeta
 

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello,

Just another info. I tried to change permission on command line for one message from 644 to 640, but I can´t see this messages on webmail under Sent. There are the same number of 5 messages.

Whis permission is ok? I do not know.

Best regards,
Elizabeta
 

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello Lauren,

I ran this command
Code:
/scripts/mailperm --verbose panelt
Part of the output is
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidvalidity/cur : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidlist : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidlist/tmp : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidlist/new : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidlist/cur : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot_index_cache : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot_index_cache/tmp : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot_index_cache/new : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot_index_cache/cur : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot_list_index_log : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot_list_index_log/tmp : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot_list_index_log/new : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot_list_index_log/cur : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidvalidity_5ad5a4cf : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidvalidity_5ad5a4cf/tmp : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidvalidity_5ad5a4cf/new : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-uidvalidity_5ad5a4cf/cur : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-quota : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-quota/tmp : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-quota/new : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.elizabeta.dovecot-quota/cur : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.mailbox_format.cpanel : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.mailbox_format.cpanel/tmp : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.mailbox_format.cpanel/new : was (0700), now (0751)
Fixed permissions on /home/panelt/mail/.mailbox_format.cpanel/cur : was (0700), now (0751)

Unfortunately, I did not save all output.


Now permissions in the directory /home/panelt/mail/panelt.org/elizabeta/.Sent/cur are not the same like before two days. Now all messages have 640 perms.

Code:
[email protected] cur]# ls -la /home/panelt/mail/panelt.org/elizabeta/.Sent/cur
total 56
drwxr-x--x 2 panelt panelt 4096 Oct 16 12:58 .
drwxr-x--x 5 panelt panelt 135 Oct 16 12:58 ..
-rw-r----- 1 panelt panelt 383 Aug 22 15:19 1523274066.M144342P16114.cpanel.wh.net.ba,S=383,W=395_2,S
-rw-r----- 1 panelt panelt 376 Aug 22 15:20 1523344682.M272348P31723.cpanel.wh.net.ba,S=376,W=388_2,S
-rw-r----- 1 panelt panelt 362 Aug 22 15:19 1528724307.M301992P2434.cpanel.wh.net.ba,S=362,W=374_2,S
-rw-r----- 1 panelt panelt 380 Aug 22 15:19 1528893656.M91937P20171.cpanel.wh.net.ba,S=380,W=392_2,S
-rw-r----- 1 panelt panelt 379 Aug 22 15:20 1528894141.M117341P21775.cpanel.wh.net.ba,S=379,W=393_2,S
-rw-r----- 1 panelt panelt 371 Aug 22 15:20 1531310574.M279125P3388.cpanel.wh.net.ba,S=371,W=383_2,S
-rw-r----- 1 panelt panelt 356 Aug 22 15:20 1531823165.M719002P7671.cpanel.wh.net.ba,S=356,W=368_2,S
-rw-r----- 1 panelt panelt 420 Aug 22 15:20 1534837673.M710083P2353.cpanel.wh.net.ba,S=420,W=435_2,S
-rw-r----- 1 panelt panelt 393 Aug 23 15:34 1535031260.M382623P15158.cpanel.wh.net.ba,S=393,W=409:2,S
-rw-r----- 1 panelt panelt 367 Oct 2 13:51 1538481077.M256931P9130.cpanel.wh.net.ba,S=367,W=379:2,S
-rw-r----- 1 panelt panelt 364 Oct 2 13:51 1538481104.M604547P9221.cpanel.wh.net.ba,S=364,W=376:2,S
-rw-r----- 1 panelt panelt 394 Oct 16 12:29 1539685769.M848243P14193.cpanel.wh.net.ba,S=394,W=408:2,S
-rw-r----- 1 panelt panelt 381 Oct 16 12:58 1539687534.M902530P18391.cpanel.wh.net.ba,S=381,W=393:2,S

Also, there is just 5 messages on the webmail in map .Sent.

Why is that so?

Best regards,
Elizabeta
 
Last edited by a moderator:

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello Lauren,

There is same situation. I have tried to use some other clients than Roundcube, I have tried with Horde and SquirrelMail, but this is same, on webmail I can see just 7 messages (another two messages I have sent today and I can see in webmail and in command line.
I can see just this messages on webmail with dates
upload_2018-10-29_15-9-27.png

Older messages from 22.08.2018. are the problem. On webmail there is no exist, but in File Manager and command line exist.

Best regards,
Elizabeta
 

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello,

Everything is ok with root password now. I have changed in command line with passwd .
I have opened ticket, ticket number is 10665957 .

Best regards,
Elizabeta
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,995
645
263
Houston
cPanel Access Level
DataCenter Provider
Hi @Elizabeta

I just checked on that ticket and one of our analysts Kaden is currently working on it. He has found that Dovecot has not indexed the missing emails which is why they're not showing up in webmail. He's continuing to work on the issue now and I'll update again when there's more information.

Thanks!
 

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
28
Mostar
cPanel Access Level
Root Administrator
Hello,

Now is everything ok. The incident is still open, and your collegue Kaden has removed index files for account paneltest. Then Dovecot again generate new index files and on webmail I see again missing e-mails.
We do not know why index files get corrupted for account paneltest.
Before two months, I have just restored mails under directory Sent. I do not know is this reason for this behaviour.

Best regards,
Elizabeta
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,995
645
263
Houston
cPanel Access Level
DataCenter Provider
Hi @Elizabeta

While this does occur occasionally due to many factors including high load on the server, it looks like the analyst was unable to identify the cause of the issue. But he was able to resolve it by doing the following:

-First he removed all the dovecot index files for the user by running this:
Code:
/scripts/remove_dovecot_index_files --user=$user --verbose
Once removed they're regenerated the next time the user checks mail

-Then to confirm the issue was resolved he did the following:
Code:
doveadm mailbox status -u [email protected] messages INBOX.Sent
Thanks!