문서의 이전 판입니다!
Postfix - SASL Authentification 설정
— 이강우 2016/08/26 10:55
구성
- cyrus-sasl 패키지 설치 되어있어야 함
main.cf 내용 수정
아래 내용을 /etc/postfix/main.cf 에 추가
smtpd_sasl_path = smtpd smtpd_sasl_auth_enable = yes
SASL2 설정 확인
/etc/sasl2/smtpd.conf 내용 확인
pwcheck_method: saslauthd mech_list: PLAIN LOGIN
서비스 재기동
chkconfig saslauthd on chkconfig postfix on service saslauthd start service postfix start
서비스 확인
$ telnet server.test.com 25 . . . 220 server.test.com ESMTP Postfix EHLO client.test.com 250-server.test.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN AUTH PLAIN AHJlZGhhdAByZWRoYXQ= 235 2.0.0 Authentication successful