Skip to main content

The mail directory does not match the actual number of mails seen by webmail

Comments

10 comments

  • cPRex Jurassic Moderator

    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
  • Peter tom

    Well friends, I am using direct access to my Linux instead of FTP

    0
  • cPRex Jurassic Moderator

    Can you post a screenshot of exactly what you're looking at?

    0
  • Peter tom

    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
  • cPRex Jurassic Moderator

    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
  • Peter tom

    So where is my email actually stored?

    0
  • cPRex Jurassic Moderator

    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
  • Scurtu Silviu-Nicolae

    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
  • Peter tom

    You mean, it's not less, it's just that he keeps multiple emails together, right?

    0
  • cPRex Jurassic Moderator

    Exactly correct

    0

Please sign in to leave a comment.