myorigin = $mydomaininet_interfaces = allmydestination = $myhostname localhost.$mydomain localhost $mydomainmynetworks = 127.0.0.0/8,localhost,iprelay_domains =home_mailbox = Maildir/alias_maps = hash:/etc/aliases#smtpd_sasl_local_domain =#smtpd_sasl_auth_enable = yes#smtpd_sasl_security_options = noanonymous#broken_sasl_auth_clients = yes#smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
10.cd /etc/dovecot 11 vi dovecot.conf 去掉 protocols = imap pop3 lmtp 前面的# 12 vi /etc/dovecot/conf.d/10-mail.conf 13 去掉10-mail.conf前面的# mail_location = maildir:~/Maildir ##line no 24 - uncomment 14 vi /etc/dovecot/conf.d/10-auth.conf auth_username_format = %n disable_plaintext_auth = no ##line no 9 - uncomment and change from yes to no. auth_mechanisms = plain login ##line no 97 - add the text "login" 15 vi /etc/dovecot/conf.d/10-master.conf unix_listener auth-userdb { mode = 0660 user = postfix ##line no 83 - uncomment and enter postfix group = postfix ##line no 84 - uncomment and enter postfix 16 service dovecot restart 17 最后加密方式,通过如下方式saslauthd http://articles.slicehost.com/2009/9/29/centos-postfix-secure-connection-configuring-saslauthd