/etc/skel and LDAP users

I have an Ubuntu 14.04 server set up with LDAP authentication for Virtualmin. I would like to pre-populate the Maildir directory with the basic mail folder (spam, trash, etc.). To do this, I created the folders in the /etc/skel directory and created another, empty /etc/skel.dom directory and set the new domain template directory to that. However, when new users are created, the contents of the /etc/skel directory are not copied.

I’ve tried setting the “Copy files into new home directories from” setting in the LDAP Users and Groups module, but that didn’t help. Creating a user in the LDAP Users and Groups module works correctly and copies the files.

Alternatively, is there a way I can specify a script to run at user creation, but not at domain creation?

Any thoughts?

No thoughts on this?

I guess, in the end, all I want is to have the mail user’s folders populated with a few directories in their Maildir. How that is accomplished doesn’t matter much, but I would like to not have to do it manually every time I add a user. Whether having the users in LDAP is the issue or not, I am only guessing.