Skip to main content

Location users mail created subfolders

Comments

7 comments

  • sparek-3
    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?
    0
  • cPanelMichael
    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.
    0
  • IvanBol
    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.

    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
    0
  • IvanBol
    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?

    Hi, I'm using ssh connection via securecrt and I have root permissions Regards
    0
  • cPanelMichael
    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.
    0
  • sparek-3
    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.
    0
  • IvanBol
    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.

    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
    0

Please sign in to leave a comment.