Skip to content

Commit

Permalink
Fixes #5775 postfix client RCPT TO command restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaldas committed Feb 9, 2021
1 parent 2de09b4 commit 516248e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install_files/ansible-base/roles/postfix/templates/main.cf
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ maximal_queue_lifetime = 14d
# Used to remap outbound from address in emails
smtp_generic_maps = hash:/etc/postfix/generic
{% endif %}
{% if ansible_distribution == 'focal' %}
# Restriction for client RCPT TO command, details at http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions
smtpd_recipient_restrictions = reject_unauth_destination
{% endif %}

0 comments on commit 516248e

Please sign in to comment.