SOLVED Location users mail created subfolders

IvanBol

Registered
Mar 16, 2018
4
1
3
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
 

sparek-3

Well-Known Member
Aug 10, 2002
2,173
280
388
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
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.
 

IvanBol

Registered
Mar 16, 2018
4
1
3
Spain
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.
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
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.
 

sparek-3

Well-Known Member
Aug 10, 2002
2,173
280
388
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.
 
  • Like
Reactions: cPanelMichael

IvanBol

Registered
Mar 16, 2018
4
1
3
Spain
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.
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
 
  • Like
Reactions: cPanelMichael