天天看点

Postfix+Dovecot+LAMP+Extmail搭建web邮件系统(四)

若提示Unix::Syslog not found,需要安装Unix::Syslog

1

2

3

4

5

<code># tar zxf Unix-Syslog-1.0.tar.gz</code>

<code># cd Unix-Syslog-1.0</code>

<code># perl Makefile.PL</code>

<code># make</code>

<code># make install</code>

若登录Extman后台显示:No such file or directory

<code># /var/www/extsuite/extman/daemon/cmdserver -d</code>

<code>loaded ok</code>

若登录Extman后台显示:Permission denied

<code># setenforce </code><code>0</code>

<code># vi /etc/sysconfig/selinux</code>

<code>SELINUX=disabled</code>

若登录Extman后台显示:Server busy or error: Illegal seek

<code># kill -9 `ps -ef | grep cmdserver | grep -v grep | awk '{print $2}'`</code>

若登录Extman后台显示:Connection refused

<code># /var/www/extsuite/extman/daemon/cmdserver --daemon</code>

若无法发送邮件:/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

<code># vi /etc/postfix/main.cf</code>

<code>mydestination =</code>

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)

<code># chown -R vuser.vgroup /</code><code>var</code><code>/maildata/domains/</code>

<code>virtual_uid_maps = </code><code>static</code><code>:</code><code>1000</code>

<code>virtual_gid_maps = </code><code>static</code><code>:</code><code>1000</code>

登录Extman账户管理后台,添加域xfcy.org、域用户[email protected][email protected]进行测试

群发邮件测试:

[email protected]邮件中成功收到群发的邮件!

域中用户邮件互发测试:

[email protected]邮件中成功收到群发和[email protected]发送过来的邮件!

测试[email protected]发送邮件到公网邮件:

在163邮件中成功收到[email protected]发送的邮件!

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

更多关于Mail Server的可参考以下的几篇:

<a href="http://vnimos.blog.51cto.com/2014866/1176083" target="_blank">邮件服务器搭建之:Postfix邮件服务器外发/邮件别名的配置</a>

<a href="http://vnimos.blog.51cto.com/2014866/1176240" target="_blank">邮件服务器搭建之:详解Dovecot配置</a>

     本文转自Vnimos51CTO博客,原文链接:http://blog.51cto.com/vnimos/1203580,如需转载请自行联系原作者