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!

SOLVED Location users mail created subfolders

Discussion in 'E-mail Discussion' started by IvanBol, Mar 16, 2018.

  1. IvanBol

    IvanBol Registered

    Joined:
    Mar 16, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Hi,

    First of all this is my first post so hi to everybody and I hope that someone can help me.

    I have some email users that have created some subfolders into their mails accounts. The problem that I have now it's that if I want to the server and search for these folderds I am not able to find them. I can see cur and new and tmp but I can't see the subfolders. Where is the location of that subfolder? Am I missing something?

    Thanks in advance
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,720
    Likes Received:
    98
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    What are you using to see the cur, new, and tmp folders?

    Whatever client or medium you are using to do that with, is it configured to view hidden files and directories?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    IMAP email folders are stored at the following location for each individual email account:

    /home/$cpanel-username/mail/$domain.tld/$email-account/

    Is this the path you are looking for? How are you checking for the existence of these directories?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. IvanBol

    IvanBol Registered

    Joined:
    Mar 16, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Thanks for your response. These directories are correct and I am able to find them. The problem is that some mail users have created some subfolders where they archive older mails or mails for is own classification. For example I know that this user has a subfolder called enterprise1. Where is located this subfolder?

    [root@mer01 zalez]# ls -l
    total 440
    drwxr-x--x 2 oit oit 36864 Mar 14 18:04 cur
    -rw-r----- 1 oit oit 0 Nov 1 18:52 dovecot-acl-list
    -rw-r----- 1 oit oit 163 Dec 11 16:20 dovecot-keywords
    -rw-r----- 1 oit oit 56 Mar 16 20:05 dovecot-quota
    -rw-r----- 1 oit oit 10568 Mar 16 20:05 dovecot-uidlist
    -rw-r----- 1 oit oit 8 Mar 8 10:29 dovecot-uidvalidity
    -r--r--r-- 1 oit oit 0 Nov 1 18:47 dovecot-uidvalidity.59fa08fe
    -rw-r----- 1 oit oit 5120 Mar 16 13:01 dovecot.index
    -rw-r----- 1 oit oit 236192 Mar 16 20:05 dovecot.index.cache
    -rw-r----- 1 oit oit 29904 Mar 16 20:05 dovecot.index.log
    -rw-r----- 1 oit oit 32800 Mar 15 02:16 dovecot.index.log.2
    -rw-r----- 1 oit oit 6056 Mar 16 12:32 dovecot.list.index
    -rw-r----- 1 oit oit 1092 Mar 16 12:58 dovecot.list.index.log
    -rw-r----- 1 oit oit 3216 Jan 19 11:09 dovecot.mailbox.log
    -rw-r----- 1 oit oit 566 Mar 16 20:05 maildirsize
    drwxr-x--x 2 oit oit 28672 Mar 16 20:05 new
    -rw-r----- 1 oit oit 1070 Nov 20 15:27 subscriptions
    drwxr-x--x 2 oit oit 4096 Mar 16 20:05 tmp
     
  5. IvanBol

    IvanBol Registered

    Joined:
    Mar 16, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm using ssh connection via securecrt and I have root permissions

    Regards
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The location you are checking is the correct directory where the custom email folder should exist. Can you verify what method the email account users utilized to create the new mail folders? For instance, was this through a specific webmail application, or via their own email client? If it was through an external email client, are you sure they setup the email account using IMAP and not POP3?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,720
    Likes Received:
    98
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    Use

    ls -al

    The -a is going to list all files and directories, including hidden files and directory. Files and directories that start with a period (.) in Linux are considered hidden.
     
    cPanelMichael likes this.
  8. IvanBol

    IvanBol Registered

    Joined:
    Mar 16, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Hi Sparek-3 and Mikel,

    Thank you very much to both of you for your responses. Sparek-3 told me the correct answer. The subfolders are hidden so with the -a option they appear. I feel like a newbee sometimes the solution is easier than you can think.

    I really appreciate your help
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice