Hello,
I'm trying to do a bit of clean up in a client's account (multiple addon domains, each addon domain has a few email addresses), and I can see a large number of hidden folders inside the /home/[username]/mail/ directory, which refer to usernames of email accounts, for example:
What are all those hidden directories and can they be safely deleted? They appear to be empty folders, containing the default maildir structure (new, tmp, cur folders).
I understand that as long as the /home/user/mail/domain.com/mail_user folders exist, everything should work fine.
Other than .Sent, .Junk, .Draft, .Trash in the mail/ directory, there shouldn't be any other hidden directories under mail/ right?
Thanks in advance,
George
I'm trying to do a bit of clean up in a client's account (multiple addon domains, each addon domain has a few email addresses), and I can see a large number of hidden folders inside the /home/[username]/mail/ directory, which refer to usernames of email accounts, for example:
Code:
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.cur
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.dovecot-acl-list
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.dovecot_index_cache
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.dovecot_index_log
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.dovecot-uidlist
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.dovecot-uidvalidity
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.dovecot-uidvalidity_51f62b77
drwxr-x--x 3 username username 4096 Nov 4 2017 domain.com
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.maildirsize
drwxr-x--x 3 username username 4096 Nov 4 2017 otherdomain.com
drwxr-x--x 5 username username 4096 Nov 28 16:45 .mail_user.tmp
lrwxrwxrwx 1 username username 16 Jul 2 2013 .mail_user@domain_com -> domain.com/mail_user
lrwxrwxrwx 1 username username 23 Jul 29 2013 .mail_user@otherdomain_com -> otherdomain.com/mail_user
I understand that as long as the /home/user/mail/domain.com/mail_user folders exist, everything should work fine.
Other than .Sent, .Junk, .Draft, .Trash in the mail/ directory, there shouldn't be any other hidden directories under mail/ right?
Thanks in advance,
George