Extmail 是一个以perl语言编写,面向大容量/ISP级应用,免费的高性能Webmail软件。完整的支持Maildir++, 多字符、多语言支持,支持模版技术、方便的为自己定制界面等等。

1、安装extmail

安装不需要选择MySQL,LDAP,因为在安装ExtMan的时候已经把这些包装上了。

shell

# cd /usr/ports/mail/extmail && make install clean

复制配置文件 :

shell

# cp /usr/local/www/extmail/webmail.cf.default /usr/local/www/extmail/webmail.cf

编辑webmail.cf文件:

shell

# vi /usr/local/www/extmail/webmail.cf

修改对应的参数如下:

SYS_CONFIG = /usr/local/www/extmail/        
SYS_LANGDIR = /usr/local/www/extmail/lang        
SYS_TEMPLDIR = /usr/local/www/extmail/html
SYS_SESS_DIR = /var/tmp/extmail/ 
SYS_AUTH_TYPE = ldap
SYS_MAILDIR_BASE = /home/domains
SYS_LDAP_BASE = dc=extmail.org
SYS_LDAP_RDN = cn=Manager,dc=extmail.org
SYS_LDAP_PASS = secret
SYS_LDAP_HOST = ldap.extmail.org
SYS_LDAP_ATTR_USERNAME = mail
SYS_LDAP_ATTR_DOMAIN = virtualDomain
SYS_LDAP_ATTR_PASSWD = userPassword
SYS_LDAP_ATTR_QUOTA = mailQuota
SYS_LDAP_ATTR_NDQUOTA = netdiskQuota
SYS_LDAP_ATTR_HOME = homeDirectory
SYS_LDAP_ATTR_MAILDIR = mailMessageStore

2、其他设置

执行如下命令:

shell

# mkdir /var/tmp/extmail
# chown vmail:vmail /var/tmp/extmail/
# chmod 700 /var/tmp/extmail
# touch /var/log/extmail.log
# chown vmail:vmail /var/log/extmail.log
# chown -R vmail:vmail /usr/local/www/extmail/
 
玖、配置extmail.txt · 最后更改: 2012/11/01 22:10 由 shaobo
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki