Browse Source

playbook/null-client: disable local delivery

http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client
Fabian Peter Hammerle 4 years ago
parent
commit
fe2bb13b2d
1 changed files with 2 additions and 0 deletions
  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