Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




Vmailmgr functions

LXIV. 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";
?>
      

Table of Contents
vm_adduser — Add a new virtual user with a password
vm_addalias — Add an alias to a virtual user
vm_passwd — Changes a virtual users password
vm_delalias — Removes an alias
vm_deluser — Removes a virtual user


With any suggestions or questions please feel free to contact us