知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

Postfix+SASL配置要点

发布时间:2014-09-05 15:14:44作者:知识屋

Postfix+SASL配置要点
 
1、看一下/etc/default/saslauthd里,一般都会告诉你针对Postfix的OPTIONS配置,改一下; 
  www.zhishiwu.com  
2、确认smtpd启动时是否chroot,与saslauthd配置相符,在/etc/postfix/master.cf里改一下; 
 
3、如果没有/etc/postfix/sasl/smtpd.conf,建一个,内容如下: 
pwcheck_method: saslauthd 
mech_list: PLAIN LOGIN 
  www.zhishiwu.com  
4、配置postfix验证设置,vi /etc/postfix/main.cf 
 
smtpd_sasl_auth_enable = yes 
smtpd_sasl_security_options = noanonymous 
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination 
 
recipient restrictions看情况而定吧.
 
结束.
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜