以下是补充的ExtMail Solution有关文档,提供了一些维护方法以及技巧等。
如果你的邮件服务器只打算使用pop3功能不打算使用更多,你可以如下这么做:
shell
注释掉pop3s,imap,imaps对应的启动选项:
courier_imap_pop3d_enable="YES" #courier_imap_imapd_enable="YES" #courier_imap_pop3d_ssl_enable="YES" #courier_imap_imapd_ssl_enable="YES"
然后停止正在运行中的pop3s,imap,imaps进程
shell
shell
注释掉对应的smtps选项
#smtps inet n - n - - smtpd # -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
然后重新加载以下postfix
shell
有时候为了安全,我们可能只能使用https,那么在用户连http://mail.extmail.org的时候,就要自动重定向到https://mail.extmail.org 做起来很简单,
修改我们虚拟主机配置文件(extmail.conf):
shell
添加如下一条指令即可
Redirect / https://mail.extmail.org/
注意:一定不能添加到ssl的配置文件中,也就是extmail-ssl.conf中,这样会造成重定向的循环。
启动postfix
shell
停止postfix
shell
重新读取postfix配置文件
shell
立即投递队列中所有邮件(慎用)
shell
查看队列邮件
shell
修复队列以及任何权限错误
shell
查看邮件系统日志
shell
结束语 通过此文档,读者应该能够较容易地架设一个功能较齐全的电子邮件系统。当使用一段时间后,用户将发现这个系统还有很多比较粗糙的地方,不尽人意。日后,本文档将继续保持更新,逐步将一些高级的设置方法公布出来,争取ExtMail Solution更加完整,力求完美。
增加fastcgi支持\ 增加spam locker支持\ 使用awstats来分析日志\ 更精细的Anti-Spam策略及关键字过滤\ 系统安全配置(基于防火墙)\
v2.2 基于FreeBSD-8.1,Extmail/Extman均使用最新的版本1.2/1.1,增加Slockd、变更几处参数等。 by liushaobo 2011-02-16\ v2.1 Extmail/Extman均使用最新的版本1.0.3/0.2.3,不再使用ExtMail Solution下载包。 by chifeng 2008-02-20\ v2.0 Extmail/Extman均使用最新的版本1.0,更新了下载包到0.2版,增加LDAP的index等等。 by chifeng 2006-12-16\ v1.4 修正了zhien指出的几处错误,再次感谢zhien兄的帮助!! by chifeng 2006-10-11\ v1.3 增加了receive_override_options设置说明,修改了amavisd自启动错误 by chifeng 2006-10-09\ v1.2 转换编码为utf8,修正了几处笔误 by chifeng 2006-08-31\ v1.1 增加了对下载包的md5验证 by hzqbbc 2006-08-07\ v1.0 最初创建 by chifeng 2006-08-04\