vpopmail 管理员手册(转载)[3]

[入库:2005年9月21日] [更新:2007年3月24日]

本文简介:

int vdeldomain(char *domain)

domain=virtual domain to delete
#删除的虚拟邮件域;

int vadduser(char *user,char *domain ,char *password , int apop)
user=new user name
#新建的用户名;
domain=virtual domain
#新建用户的虚拟邮件域
password=clear text password
#明文密码
apop=0 for pop and 1 for apop
#数字0 指定pop , 1 指定apop
int vdeluser(char *user, char *domain)

user=user to delete
#删除的用户
domain=virtual domain
#删除用户的虚拟邮件域

int vpasswd(char *user, char *domain, char *password)
user=user to change password for
#需要修改密码的用户名
domain=virtual domain
#修改密码用户所在的虚拟邮件域
password=clear text password
#明文密码

int vsetuserquota(char *user, char *domain, char *quota)
user=user name to change quota for
#修改用户磁盘配额的用户名
domain=virtual domain
#需要修改磁盘配额的用户所在虚拟邮件域
char=quota in bytes. M/m and K/k abbrieviations apply. 5M 5m and 500000 all equal 5 million bytes hard quota

#字节为单位的磁盘配额,5M 5m 以及500000全部等同于5百万字节的硬配额
vpopmail authentication API

int vauth_addomain(char *domain)
domain=domain name to add to authentication system
#添加到认证系统的域名

int vauth_deldomain(char *domain)
domain=domain name to delete from authentication system
#从认证系统删除的域名

int vauth_adduser(char *user, char *domain, char *crypted_password, char *dir, int apop)
user=user to add from authentication system
#增加到认证系统的用户
domain=domain name
#域名
crypted_password=encrypted password
#加密密码
dir=full path to directory where users Maildir is stored
#Maildir存储的全路径
apop=0 for POP and 1 for APOP
#数字0指定POP ,1 指定 APOP
int vauth_deluser(char *user, char *domain)
user=user to delete from authentication system
#从认证系统删除的用户名
domain=domain name
#域名

int vauth_password(char *user, char *domain, char *crypted_password)
user=user to change password in authentication system
#在认证系统中更改密码的用户
domain=domain name
#域名
crypted_password=the encrypted password
#加密密码

int vauth_setquota(char *user, char *domain, char *quota)
user=user to set quota for in authentication system
#在认证系统中设置配额的用户
domain=domain name
#域名
quota=空间配额,字节,或者使用 M/m K/k 衡量。5M=5m=5000000

struct *passwd vauth_getpw(char *user, char *domain)
user=user name to retrieve password entry from authentication system
#需要从认证系统中重新获得密码的用户名
domain=domain name
#域名

int vauth_setpw(struct *passwd, char *domain)
passwd=pointer to a passwd structure to store in authentication system . 
#指向一个密码结构来存储在认证系统
domain=domain name for this passwd structure
#这个密码结构的域名

struct *vauth_user(char *user, char *domain, char *password, char *apop)
user=user name to authenticate
#认证的用户名
domain=domain name
#域名
password=clear text password
#明文密码
apop=not used in version 3.4.10
#apop不在3.4.10版本中使用

struct *vauth_getall(char *domain, int first, int sort_it)
domain=domain name to retrieve password structure from authentication system
#需要从认证系统中重新获得密码结构的域名
first=1 to get first record, 0 = get next record
#数字1指定提取第一个纪录,0指定提取下一个记录

sort_it=1 to have the user list sorted alphabetically . This has no effect on vpasswd/cdb 
method, since all users are added alphabetically. With mysql it adds an order by pw_name to 
the query.
#数字1指定按照字母顺序排列用户列表。由于所有的用户是按照字母顺序添加的,所以,这个对vpasswd/cdb无效。
而mysql增加的顺序由pw_name决定。 
 
 

本文关键:vpopmail 管理员手册(转载)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top