Hi list,
I'm writing a php script to create vpopmail (Ver 5.3.6 with mysql) accounts,
but the function always return 1, doesnt matter if the user was succefully
created or not, ie:

$cmd = "/email/vpopmail/bin/vaddsuer -c $name  $user@$domain $password";
exec($cmd, $dat,$code);
return $code;

$code always return 1, so a cant check if the user exists ( return code -2,
according to http://www.inter7.com/vpopmail/vpopmail-new.html) or not, etc.
Am i doing it wrong?

ITOH, can i only populate the vpopmail table to create the new users instead
of using the vpopmail executables?
Thanks in advance

Reply via email to