소스 검색

Merge pull request #344 from goatsrcool/emailwiz_update

Swap restriction order in main.cf to catch sender login mismatch
master
Luke Smith 11 달 전
committed by GitHub
부모
커밋
905ac6c7d4
No known key found for this signature in database GPG 키 ID: B5690EEEBB952194
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
emailwiz.sh 파일 보기

@@ -160,7 +160,7 @@ postconf -e 'smtpd_sasl_path = private/auth'

# helo, sender, relay and recipient restrictions
postconf -e "smtpd_sender_login_maps = pcre:/etc/postfix/login_maps.pcre"
postconf -e 'smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_sender_login_mismatch, reject_unknown_reverse_client_hostname, reject_unknown_sender_domain'
postconf -e 'smtpd_sender_restrictions = reject_sender_login_mismatch, permit_sasl_authenticated, permit_mynetworks, reject_unknown_reverse_client_hostname, reject_unknown_sender_domain'
postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain'
postconf -e 'smtpd_relay_restrictions = permit_sasl_authenticated, reject_unauth_destination'
postconf -e 'smtpd_helo_required = yes'


불러오는 중...
취소
저장