centos 6.6 ???????????????sendmail???dovecot

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos 6.6 ???????????????sendmail???dovecot相关的知识,希望对你有一定的参考价值。

??????????????????   dma   6.2   centos 6   efi   centos   dig   centos6   centos6.6   

????????????sendmail?????????????????????????????????????????????????????????????????????????????????????????????????????????

??????????????????????????????????????????????????????????????????????????????

1.????????????

???????????????centos6.6
?????????centos6.6???
???????????????centos6.6????????????????????????????????????
???????????????

cyrus-sasl-gssapi-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-2.1.23-15.el6_6.2.x86_64
sendmail-cf-8.14.4-9.el6_8.1.noarch
cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64
m4-1.4.13-5.el6.x86_64
cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64
sendmail-8.14.4-9.el6_8.1.x86_64
cyrus-sasl-plain-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-devel-2.1.23-15.el6_6.2.x86_64
dovecot-2.0.9-22.el6.x86_64

sasl?????????????????????????????????????????????sendmail-8.13????????????cyrus-sasl?????????????????????????????????cyrus-sasl???
????????????????????????cyrus-sasl??????????????????.....

sendmail??????????????????sendmail???rpm????????????????????????cyrus-sasl??????????????????????????????sendmail??????cyrus-sasl??????????????????????????????????????????????????????????????????25??????????????????????????????????????????????????????????????????????????????

??????????????????25?????????????????????sendmail???????????????/usr/lib/sasl2/Sendmail.conf????????????????????????????????????????????????

2.????????????

rpm -ivh?????????????????????????????????????????????????????????

yum???????????????

3.????????????

pop3??????????????????/etc/dovecot.conf???????????????17?????????#protocols = imap imaps pop3 pop3s???#?????????

????????????????????????????????????????????????????????????????????????dovecot-auth???????????????????????????protocols = none?????????????????????
smtp:
?????????smtp?????????????????????


??????????????????
?????????????????????25???????????????sendmail??????cyrus-sasl???saslauthd?????????saslauthd????????????????????????????????????????????????????????????????????????????????????saslauthd?????????????????????/etc/shadow?????????????????????????????????????????????sendmail???????????????????????????????????????????????????????????????
???????????????/usr/lab/sasl2/????????????sendmail?????????????????????sendmail.conf???????????????????????????pwcheck_method=saslauthd?????????sendmail?????????????????????saslauthd
??????????????????????????????????????????cyrus-sasl???saslauthd??????????????????????????????
???????????????/etc/sysconfig/?????????saslauthd?????????????????????7?????????
MECH=
???????????????????????????????????????????????????
MECH=shadow
??????
??????saslauthd????????????shadow???????????????????????????
??????saslauthd?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

 

4.Sendmail??????.

??????????????????????????????
??????/etc/mail/local-host-names
????????? @??????????????????????????????????????????[email protected]
??????????????????local-host-names??????????????????????????????
linuxedentest.com
??????
??????
local-host-names????????????????????????????????????????????????????????????????????????
????????????????????????dns?????????????????????mx???????????????A?????????????????????dns???????????????????????????????????????bind???????????????????????????win2003???dns???????????????
??????sendmail.mc???
??????/etc/mail/sendmail.mc?????????
?????????
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN???)dnl
dnl define(`confAUTH_MECHANISMS???, `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN???)dnl
????????????dnl????????????????????????
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN???)dnl
define(`confAUTH_MECHANISMS???, `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN???)dnl
???????????????????????????
??????????????????EXTERNAL, LOGIN, PLAIN, CRAM-MD5???DIGEST-MD5???????????????????????????????????????access?????????????????????
confAUTH_MECHANISMS???????????????????????????????????????LOGIN PLAIN ????????????outlook????????????
????????????????????????
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, )dnl
?????????
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, )dnl
????????????ip?????????????????????smtp??????????????????????????????????????????
-----------------------------------------------------------
??????????????????????????????
dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea???)dnl
?????????????????????????????????
?????????????????????????????????????????????Port=submission,??????Port=25??????????????????????????????25?????????????????????
????????????sendmail?????????????????????????????????smtp????????????sendmail8.13????????????????????????????????????sendmail??????????????????????????????????????????25????????????????????????????????????????????????25?????????????????????????????????????????????587?????????????????????????????????
????????????sendmail??????????????????25?????????Port=smtp?????????????????????????????????Port=25???????????????????????????25???????????????sendmail???sm-client???
????????????sendmail????????????????????????....
-----------------------------------------------------------
?????????????????????sendmail.mc
??????
???m4????????????sendmail.cf?????? 
??????
# m4 /etc/mail/sendmail.mc > /etc/sendmail.cf 
??????dovecot?????????
/etc/init.d/dovecot start
??????saslauthd?????????
/etc/init.d/saslauthd start
??????sendmail?????????
/etc/init.d/sendmail start
?????????????????????????????????????????????
chkconfig dovecot on
chkconfig saslauthd on
chkconfig sendmail on
ok?????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????~~~

以上是关于centos 6.6 ???????????????sendmail???dovecot的主要内容,如果未能解决你的问题,请参考以下文章

centos 6.6 ios镜像文件 下载

centos 6.6 ???????????????sendmail???dovecot

CentOS 6.6 nginx PHP 配置

在Linux CentOS 6.6上安装Python 2.7.9

在Linux CentOS 6.6上安装Python 2.7.9

centos 6.6 安装python