View Full Version : Adding Email Account Scripting
mktgarchitect
01-26-2004, 11:58 PM
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
DirectAdmin Support
01-27-2004, 09:50 AM
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
mktgarchitect
01-27-2004, 03:44 PM
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.
S2S-Robert
01-28-2004, 01:48 AM
Once the new version of DA is available it'll automatically update itself once John or Mark 'push' it onto the servers. Until then you can request the new update yourself (that is, if there ìs a new update).
The ETA on the new update can be found here : http://www.directadmin.com/versions.php?action=allversions
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.