PHP Manual
Prev |  | Next

# LVI. Vmailmgr functions

These functions require qmail and the vmailmgr package by Bruce Guenter.

For all functions, the following two variables are defined as: string vdomain the domain name of your virtual domain (vdomain.com) string basepwd the password of the 'real' user that holds the virtual users

Only up to 8 characters are recognized in passwords for virtual users

Return status for all functions matches response in response.h

O ok
1 bad
2 error
3 error connecting

Known problems: vm_deluser() does not delete the user directory as it should. vm_addalias() currently does not work correctly.

    <?php
    dl("php3_vmailmgr.so"); //load the shared library
    $vdomain="vdomain.com";
    $basepwd="password";
    ?>

Prev | Home | Next
unset | Up | vm_adduser