qsed-abuse01@hzqbbc.com
 18 12
发新话题
打印

发布extman-0.2.3工具包

发布extman-0.2.3工具包

由于extman-0.2.3的整体结构发生了改动,我之前写的所有工具包将不再适合用于该版本,因此更新一下工具包。

包含内容:
adduser.pl
userinfo.pl
deluser.pl
modifyuser.pl
diffinfo.pl
makegbook.pl

其中makegbook.pl是从fengyong老大的全局地址本生成程序改过来的,改后支持mysql&ldap。:)另外再感谢fengyong老大的建议,使程序简化了一些。

用法:
基本上直接执行,然后根据提示使用即可,操作很简单。

注意:
该工具包必须在..../extman/tools/目录下才能正常执行,并且只能配合extman-0.2.3这一版本使用。
附件: 您所在的用户组无法下载或查看附件
http://www.chifeng.name
http://extmail.org
http://postfix.org.cn
-------- chifeng

TOP

支持你的工作,谢谢!

TOP

强烈支持hzq老大和chifeng老大的敬业精神
I love opensource since I met linux.

TOP

顶chifeng ~~
请引用或摘抄本站文章信息的朋友,保留本站链接及作者信息,保护版权,谢谢。

构建高性能大容量开源邮件系统- ExtMail

Postfix在中国官方网站

TOP

顶一把!呵,偶准备在近期部署

TOP

回复 #1 chifeng 的帖子

怎么不把工具加到后台的extman里面呢.

TOP

引用:
原帖由 szrenhua 于 2007-11-26 22:55 发表
怎么不把工具加到后台的extman里面呢.
暂时还不成熟,等偶把工具包搞得不需要extman的时候再加进去也不迟,嘿嘿。。。
http://www.chifeng.name
http://extmail.org
http://postfix.org.cn
-------- chifeng

TOP

那个批量增加用户的小程序也不能用了,郁闷!

TOP

f 支持
开源易有
http://www.yiyou.org/

TOP

引用:
原帖由 月照清溪 于 2007-12-18 21:10 发表
那个批量增加用户的小程序也不能用了,郁闷!
用这个脚本先顶一下,呵呵。

http://extman.googlecode.com/svn/trunk/tools/userctl.pl
http://www.chifeng.name
http://extmail.org
http://postfix.org.cn
-------- chifeng

TOP

引用:
原帖由 chifeng 于 2008-1-4 23:26 发表


用这个脚本先顶一下,呵呵。

http://extman.googlecode.com/svn/trunk/tools/userctl.pl
能不能写个示范的脚本,我也在找如何批量添加用户。

TOP

请各位使用最新extman 0.2.4的tools/下的脚本,另外,脚本用法可以直接执行脚本不带任何参数来查看帮助。
请引用或摘抄本站文章信息的朋友,保留本站链接及作者信息,保护版权,谢谢。

构建高性能大容量开源邮件系统- ExtMail

Postfix在中国官方网站

TOP

看了userctl.pl的帮助

# ./userctl.pl

    Usage: ./userctl.pl --mode=add,badd,del,bdel,list,show,mod,help
                        --file=/path/to/filename.csv  #if mode is:badd,bdel
                        --username=username@domain.tld
                        --domain=domain.tld
                        --password=******
                        --name=name
                        --question="What are you doing?"
                        --answer="Working"
                        --gid=gid
                        --uid=uid
                        --expire="2009-09-17"
                        --quota=100   # Unit: MB
                        --ndquota=100   # Unit: MB
                        --active=1|0
                        --services=smtp,smtpd,pop3,imap,webmail,netdisk,pwdchange
                        --setgid=vgroup
                        --setuid=vuser
                        --quiet or -qq [hide infomation bar, useful for batch job]

想知道--file=/path/to/filename.csv,filename.csv的格式如何写,才能批量导入用户。

TOP

也想知道--file=/path/to/filename.csv,filename.csv的格式怎么写

TOP

 18 12
发新话题
最近访问的版块