Adding custom actions to email account creation

ravenspear

Registered
Jun 28, 2005
4
0
151
Some of my users need to use imap with Apple's Mail.app which doesn't seem to work well with courier's folder naming scheme.

The solution I came across was to create 2 symlinks in every mail account folder like:

ln -s . INBOX
ln -s . INBOX.

and then set the IMAP path prefix to be INBOX in Mail.app.

This works but I would like a way to have this happen automatically whenever a new email account is created in cPanel. How would I go about doing this? I was thinking there must be a script somewhere that creates the directory, etc. when the account is setup that I could just add those commands to.

thanks for any help
 

gattomatto

Registered
Aug 31, 2006
4
0
151
"Me Too"

I would also like to know this.. It would solve the problem I'm working on, in setting up users to have openwebmail folders on account creation. I can't get OWM to do what I need so I'm turning to cPanel to create the folders for me and can't find a good method to do that. This would be perfect...