The mail directory does not match the actual number of mails seen by webmail
Recently, I was dealing with the company's file backup problem, but I found that the number of emails seen in the /home/user/mail/user.com/username directory was different from the number of emails seen when logging in to the web mailbox. I have summarized a rule. He can only see relatively large emails, such as emails above 6MB, but I can't see small emails in this directory. What could be the reason? Please help me.
-
Hey there! Can you let me know how specifically you are viewing those messages? Many FTP clients limit the number of files you can see, as outlined in the blue warning box here:
https://docs.cpanel.net/cpanel/files/ftp-accounts/
so if you have additional details on how and where you're viewing those messages that will help get us started.
0 -
Well friends, I am using direct access to my Linux instead of FTP
0 -
Can you post a screenshot of exactly what you're looking at?
0 -
Friends, this is the email I can see. He only had thirty or forty emails. But when I view it using Roundcube, I can see over 150 emails.
0 -
Thanks for sharing that. This seems completely normal to me, as there is not a 1-to-1 correlation with the files inside the /storage directory and the number of emails in the account. As an example, you can see the folders for the user in /home/username/mail/domain.com/emailuser/mailboxes but if you open the INBOX directory there you will not actually see the emails.
0 -
So where is my email actually stored?
0 -
If you're expecting to find a list of individual emails in plain text on the server, you aren't going to find that, as that isn't how they get stored. Is there something specific you are looking for?
0 -
Could you check what type of storage are you using(maildir or mdbox)?
cat /home/yourcpaneluser/mail/mailbox_format.cpanel
*Mdbox stores multiple emails in a single file so the number of files will be much lower than the number of emails shown in webmail.1 -
You mean, it's not less, it's just that he keeps multiple emails together, right?
0 -
Exactly correct
0
Please sign in to leave a comment.
Comments
10 comments