maxzz
07-15-2005, 12:05 AM
Hi..
I need to copy the part of mail functions from DSM into my scripts
I want to create my own mail interface for my new domain
I need realize next options(create new mail account,delete mail account,set quota etc.)
Does DSM panel has any shell scripts or API for these purposes?
Can i use you DSM's scripts from my scripts
For example Dsm panel has next script-couriermanager
Can i use this script in this manner??
<?php
system("/usr/bin/php -q
/mypath/dsm/couriermanager?sdom=mydmain&email=mynewemail&pass1=mypass&pass2&commit=add");
?>
i know how i can manage accounts from for command line
http://www.courier-mta.org/?userdb.html
http://www.courier-mta.org/?userdbpw.html
etc.
but in this case i couldn't see any modifications in the DSM.
So need integrate courier mail functions with my own interface.
Can i realize it?
thx
I need to copy the part of mail functions from DSM into my scripts
I want to create my own mail interface for my new domain
I need realize next options(create new mail account,delete mail account,set quota etc.)
Does DSM panel has any shell scripts or API for these purposes?
Can i use you DSM's scripts from my scripts
For example Dsm panel has next script-couriermanager
Can i use this script in this manner??
<?php
system("/usr/bin/php -q
/mypath/dsm/couriermanager?sdom=mydmain&email=mynewemail&pass1=mypass&pass2&commit=add");
?>
i know how i can manage accounts from for command line
http://www.courier-mta.org/?userdb.html
http://www.courier-mta.org/?userdbpw.html
etc.
but in this case i couldn't see any modifications in the DSM.
So need integrate courier mail functions with my own interface.
Can i realize it?
thx