Weird folder under /home/user/imap/domain/

MvdP

Verified User
Joined
Mar 3, 2011
Messages
14
Hi all,

I am having a weird situation in one of my customers accounts.

under the folder /home/user/imap/domain/ are normally a couple of sub folders with the pop/imap boxes created for that account.

For one of the accounts on my server however there are 1810 subfolders... all with some random naming like: Zindy, Wilson, Will, Wes, etc, etc...

Does anyone has any idea why this has occurred and what I can do about it?

Thanks in advance!
 
Actually, it's nothing to be concerned about - I had the same thing happen. If the user has selected that all spam go to the specified users' folder, apparently DA will create that folder if it doesn't exist. So check your clients' email accounts & aliases, then you can delete the folders that don't match. And change the setting to just delete the spam.
 
Hi,

Thanks for the answers... I have followed the directions, now let's see if they help.

Only thing is that all the folders are still left on the server. Is there an easy easy way to delete all bogus folders in one time?

Thanks again.
 
Hehe yeah I understand that zEitEr :)

But there are about 2000 folders inside the folder... and about 6 of them have to be saved.... I do not want to type rm folder for around 1994 times.
 
Remove from an output of

Code:
ls -1  /home/user/imap/domain.com/

those lines which present in a list of /etc/virtual/domain.com/passwd manually or with a script.
 
Back
Top