Browse Source

playbook/null-client: disable local delivery

http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client
Fabian Peter Hammerle 5 năm trước cách đây
mục cha
commit
fe2bb13b2d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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