Add configuration for virtual and relay domains and aliases
This commit is contained in:
parent
8d7838ad26
commit
bce2d91ea3
8 changed files with 81 additions and 24 deletions
|
@ -84,12 +84,9 @@ virtual_transport =
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if postfix_relay_domains is defined %}
|
||||
{% if postfix_relay_domains is defined and postfix_relay_domains %}
|
||||
# Relay mails without recipient check
|
||||
relay_domains =
|
||||
{% for map in postfix_relay_domains %}
|
||||
{{ map.type}}:{{ map.path }}
|
||||
{% endfor %}
|
||||
relay_domains = cdb:{{ postfix_conf_dir }}/relay_domains
|
||||
{% endif %}
|
||||
{% if postfix_sender_dependent_relayhost_maps is defined %}
|
||||
sender_dependent_relayhost_maps =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue