- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
(linux邮件配置
linux postfix 邮件服务器配置一.使用Tarball安装完整的postfix+pop3+smtp+procmail1.安装cyrus sasl 2. xx版本首先下载cyrus sasl2. xx版本(假设我们网站文件下载到 /root 下)[root@test root] # cd /usr/local/src[root@test src] #???? tar -zxvf /root/cyrus-sasl-2.1.12.tar.gz[root@test src] #???? cd cyrus-sasl-2.1.12[root@test cyrus-sasl-2.1.12] # ./configure[root@test cyrus-sasl-2.1.12] #make[root@test cyrus-sasl-2.1.12] # make install上面三个步骤会花去一些时间,请耐心等待2.准备建立postfix与cyrus sasl使用的简易配置文件:[root@test lib]# cd /usr/lib/sasl2[root@test sasl2]# echo pwcheck_method: saslauthd smtpd.conf[root@test sasl2]# echo mech_list:plain login smtpd.conf一般来说,postfix会使用sasl函数库里相关的配置文件,/usr/lib/sasl2/smtpd.conf文件的配置就是postfix默认使用sasl的参数文件.3.检验saslauthd程序是否正确!在cyrus-sasl的源代码中提供了一个小程序来判断saslauthd的认证机制是否成功的启动了,这个程序就是testsaslauthd,可以进行如下操作:[root@test sasl2]# /usr/local/cyrus-sasl2/sbin/saslauthd -a shadow[root@test sasl2]#cd /usr/local/src/cyrus-sasl-2.1.12/saslauthd/[root@test saslauthd]#make testsaslauthd[root@test saslauthd]#./testsaslauthd -u userID -p your.passwd0:oksuccess.若显示ok,那么就是成功了!4.设置开机时启动[root @test saslauthd]# vi /etc/rc.d/rc.local加入这一行:/usr/local/cyrus-sasl2/sbin/saslauthd -a shadow二.安装postfix1.首先将数据解压缩(假设我们将安装文件下载到 /root下了!)[root @test src]# cd /usr/local/src[root @test src]# tar -zxvf /root/postfix-2.0.4.tar.gz[root @test src]# cd /usr/local/src/postfix-2.0.4[root @test postfix2.0.4]# make tidy???? #清除规则[root @test postfix2.0.4]# make makefiles??? CCARGS=-DUSE_SASL_AUTH \-I/usr/local/cyrus-sasl2/include/sasl/ \AUXLIBS=-L/usr/local/cyrus-sasl2/lib -lsasl2[root @test postfix-2.0.4]# make2.安装前准备工作如果您的系统是由sendmail改换到postfix,不需要卸载sendmail,只要进行一些小操作即可![root @test postfix-2.0.4]#mv /usr/sbin/sendmail/usr/sbin/sendmail.OFF[root @test postfix-2.0.4]#mv /usr/bin/newaliases/usr/bin/newaliases.OFF[root @test postfix-2.0.4]#mv /usr/bin/mailq??? /usr/bin/mailq.OFF[root @test postfix-2.0.4]#chmod 755 /usr/sbin/sendmail.OFF \??? /usr/bin/newaliases.OFF??? /usr/bin/mailq.OFF此外,还需要建立一个名为postdrop 的用户组与postfix的用户![root @test postfix-2.0.4]# g
文档评论(0)