一、邮件解决方案的软件组成:
二、DNS环境的搭建/配置:
三、LAMP环境的搭建:
四、Postfix 、Dovecot环境的搭建/配置 :
五、SMTP认证环境的搭建/配置 :
六、Maildrop的安装/配置:
七、Extmail & Extman 环境的搭建/配置 :
八、trouble shooting:
九、邮件收发测试:
trouble shooting:
若提示Unix::Syslog not found,需要安装Unix::Syslog
若登录Extman后台显示:No such file or directory
若登录Extman后台显示:Permission denied
1
2
3
|
# setenforce 0
# vi /etc/sysconfig/selinux
SELINUX=disabled
|
若登录Extman后台显示:Server busy or error: Illegal seek
若登录Extman后台显示:Connection refused
若无法发送邮件:/var/log/maillog日志文件提示如下:
May 17 14:56:17 mail postfix/trivial-rewrite[22048]: warning: do not list domain xfcy.org in BOTH mydestination and virtual_mailbox_domains
1/0/0.21, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /var/maildata/domains/xfcy.org/vnimos/Maildir/tmp/1368773846.P22125.mail.xfcy.org: Permission denied)
1
2
3
4
|
# chown -R vuser.vgroup / var /maildata/domains/
# vi /etc/postfix/main.cf
virtual_uid_maps = static : 1000
virtual_gid_maps = static : 1000
|
邮件收发测试:
首先进入 http://mail.xfcy.org/extman 以用户名/密码:root@extmail.org / extmail*123*
登录Extman账户管理后台,添加域xfcy.org、域用户user1@xfcy.org、user2@xfcy.org进行测试




群发邮件测试:

在user1@xfcy.org邮件中成功收到群发的邮件!

域中用户邮件互发测试:

在user2@xfcy.org邮件中成功收到群发和user1@xfcy.org发送过来的邮件!

测试user2@xfcy.org发送邮件到公网邮件:

在163邮件中成功收到user2@xfcy.org发送的邮件!

通过MUA Foxmail客户端连接测试:






至此,我们已经成功的搭建好基于Extmail的web邮件系统,搭建过程中所用到的非系统自带的软件包可到此下载:http://down.51cto.com/data/798955
更多关于Mail Server的可参考以下的几篇:
邮件服务器搭建之:邮件系统简介
邮件服务器搭建之:Postfix邮件服务器外发/邮件别名的配置
邮件服务器搭建之:详解Dovecot配置
本文转自Vnimos51CTO博客,原文链接:http://blog.51cto.com/vnimos/1203580,如需转载请自行联系原作者