여러번 postfix 설정을 했는데 쉽지가 않다
여러번 삽질 후 찾은 가장 좋은 설정 인거 같다.
구성은 postfix + spamassassin + sasl
smtp_sasl_type=cyrus
smtpd_sasl_path=smtpd
smtpd_sasl_auth_enable=yes
smtpd_recipient_restrictions=permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, reject_unlisted_sender
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access, permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_rbl_client spamlist.or.kr, permit
smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, check_helo_access hash:/etc/postfix/access, reject_non_fqdn_hostname, reject_invalid_hostname, permit
broken_sasl_auth_clients=yes
smtpd_helo_required = yes
relay_domains_reject_code=550
disable_vrfy_command = yes
smtpd_delay_reject = yes
unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550
smtpd_error_sleep_time = 0
smtpd_client_message_rate_limit=10
smtpd_client_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_rbl_client
smtpd_data_restrictions=reject_unauth_pipelining
allow_untrusted_routing = no
smtpd_sasl_exceptions_networks=!61.38.173.133
maximal_queue_lifetime=1h
queue_run_delay=300s
allow_untrusted_routing = no
'리눅스' 카테고리의 다른 글
centos sz,rz (0) | 2017.11.30 |
---|---|
centos 링크 걸기 (0) | 2017.11.30 |
centos crontab 설치 하기 (0) | 2017.11.30 |
리눅스 단순 명령어 반복 입력 (0) | 2017.11.30 |
centos 외장 하드 마운트 하기 (0) | 2017.11.30 |