ExtMail服务器社区's Archiver

stukid 发表于 2010-2-21 09:51

如何批量注册或者按文件导入注册新用户?

需要把原来的邮件系统转移到emos,想把原来的用户信息导入到emos中。
只有用户名也行,密码的话,用户自己修改也行。
有没有一些工具,可以按文件中的名字自动生成mail用户?
谢谢

stukid 发表于 2010-2-21 10:55

具体操作如下:
1.制作文本文件user.txt;格式如下:
   [email]111@extmail.org[/email]  123456
      [email]222@extmail.org[/email]  123456
      注:[email]111@extmail.org[/email]  123456 两者之间空格为半角空格,全角不成功。
2.用extman/tools下文件userctl.pl
[root@olympic~] # cd /var/www/extsuite/extman/tools
[root@olympic~] # ./userctl.pl --mod=badd --file=user.txt

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.