Adding Email Account Scripting

mktgarchitect

Verified User
Joined
Jan 26, 2004
Messages
5
I like the add account and domain script hooks (and the delete, though I haven't made create use of these yet).

I've run into a situation where its become quite important to have the same hooks when an email address (virtual primarily) is created or deleted. (also on changing the password). I'm setting up a lot of default folders and personalized files and would like to be able to create these using the tokens like the existing hooks support.

Any ideas?
Olivier
 
Hello,

They're quite easy for me to add. I'll include them in the versions system. I'm assuming you're referring to the ./scripts/custom scripts.

John
 
Thanks John.

Yes. I'd like to have
/scripts/custom/add_email_post.sh
and delete_email_pre/post.sh.

I'm not sure if we need separate ones for virtual and real addresses, since we already have the create_account.sh.

Most of the script I have in mind should be a "post create" rather than a pre, but it probably doesn't matter much since I'll mostly be creating directories and adding the user to a separate DB.

in terms of tokens, obviously the
{email}@{domain} and {user}, plus the {password} are important.

Can you tell me how I would do the upgrade? I'm new to directadmin.

thanks.
 
Back
Top