作者:Tony
POSTFIX安裝的簡短流程.
1.apt-get -f install postfix postfix-tls sasl2-bin libsasl2-modules qpopper
2.編輯vi /etc/default/saslauthd
START=yes
MECHANISMS=pam
3.vi /etc/postfix/sasl/smtpd.conf 加入
pwcheck_method: saslauthd
mech_list: login plain
4.chown postfix:postdrop /var/run/saslauthd
chown -R root:sasl /var/run/saslauthd
5.vi /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sasl_security_options = noanonymous
6.vi /etc/postfix/master.cf
smtp inet n - - - - smtpd
改成
smtp inet n - n - - smtpd -v
7.addgroup postfix sasl
发表于 @ 2005年08月20日 14:27:00 | 评论( loading... ) | 举报| 收藏