소스 검색

playbook/null-client: disable local delivery

http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client
Fabian Peter Hammerle 5 년 전
부모
커밋
fe2bb13b2d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      ansible-playbooks/null-client.yml

+ 2 - 0
ansible-playbooks/null-client.yml

@@ -13,7 +13,9 @@
         smtpd_banner = $myhostname ESMTP $mail_name quid agis?
 
         # RCPT TO matches $relay_domains => !reject_unauth_destination
+        # http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions
         smtpd_relay_restrictions = reject_non_fqdn_recipient, reject_unauth_destination
+        mydestination =
         relay_domains = example.com
 
         # include TLS protocol & cipher in 'Received' header