Duplicate (lowercase) maildir sub directories in skeleton for new mail users problem

Hi, using virtual min GPL, I found out that the mail skel configuration is stored at:

# ls -lha /etc/mailskel/Maildir/ total 32K drwx------ 8 root root 4.0K Sep 15 14:17 . drwxr-xr-x 3 root root 4.0K Dec 17 2010 .. drwx------ 2 root root 4.0K Dec 17 2010 cur drwx------ 5 root root 4.0K Dec 17 2010 .Drafts drwx------ 5 root root 4.0K Dec 17 2010 .Junk drwx------ 2 root root 4.0K Dec 17 2010 new drwx------ 2 root root 4.0K Dec 17 2010 .Sent drwx------ 2 root root 4.0K Dec 17 2010 tmp

I tested altering the configuration, and I see that it populates in new users, sort of:

# mkdir /etc/mailskel/Maildir/.Test After creating a test user, without loggin in any mail client, I get the following skel: # ls -lha /home/domain/homes/usertest/Maildir/ total 52K drwx------ 13 usertest@domain domain 4.0K Sep 15 14:07 . drwxr-x--- 4 usertest@domain domain 4.0K Sep 15 14:07 .. drwx------ 2 usertest@domain domain 4.0K Sep 15 14:07 cur drwx------ 5 usertest@domain domain 4.0K Sep 15 14:07 .drafts drwx------ 5 usertest@domain domain 4.0K Sep 15 14:07 .Drafts drwx------ 5 usertest@domain domain 4.0K Sep 15 14:07 .Junk drwx------ 2 usertest@domain domain 4.0K Sep 15 14:07 new drwx------ 5 usertest@domain domain 4.0K Sep 15 14:07 .sent drwx------ 2 usertest@domain domain 4.0K Sep 15 14:07 .Sent drwx------ 5 usertest@domain domain 4.0K Sep 15 14:07 .spam drwxr-xr-x 2 usertest@domain domain 4.0K Sep 15 14:07 .Test drwx------ 2 usertest@domain domain 4.0K Sep 15 14:07 tmp drwx------ 5 usertest@domain domain 4.0K Sep 15 14:07 .trash I have no idea from where the lowercase directories are created (eg .drafts, .sent), I have checked the skel at /etc/skel, and does not contain them either. I want to remove the creation of the extra dirs, any clues?

You can customize the names of these default folders, at System Settings -> Virtualmin Configuration -> Actions upon server and user creation , using the “Trash folder name for new mailboxes” field and the others for drafts and sent mail…