Markus_Eyrich
Basic Pleskian
Hi,
I'm trying to get a event handler to work, but i'm having problem's using the cli correctly. What i try to do is, if an e-mail account for a domain is created, i want to create a web user for the domain the e-mail account was created for. Background is a school which want's to have a webuser for each teacher they add an e-mail account for.
Problem so far is that the cli utility in /usr/local/psa/bin/webuser doesn't allow me to use VARIABLES for username and/or passwd. Also i don't know how to create a randomly created password and somehow sent it to the newly created e-mail account at this point.
Anyone here could help me out ?
I'm trying to get a event handler to work, but i'm having problem's using the cli correctly. What i try to do is, if an e-mail account for a domain is created, i want to create a web user for the domain the e-mail account was created for. Background is a school which want's to have a webuser for each teacher they add an e-mail account for.
Problem so far is that the cli utility in /usr/local/psa/bin/webuser doesn't allow me to use VARIABLES for username and/or passwd. Also i don't know how to create a randomly created password and somehow sent it to the newly created e-mail account at this point.
Anyone here could help me out ?