---
- import_tasks: smtp-common-packages.yml
- import_tasks: postfix_firewalld.yml
  when: ansible_distribution_file_variety == "RedHat"
- import_tasks: smtp-sasl-auth.yml
  when:
    - postfix_use_sasl_auth | bool
    - postfix_relay_client | bool
- import_tasks: postfix-relay-server.yml
  when: postfix_relay_server | bool
- import_tasks: postfix-letsencrypt-hook.yml
  when: postfix_use_letsencrypt | bool