Commit fadb6c66 authored by ale's avatar ale
Browse files

Replace custom helpdesk config with configuration

parent ace98fca
Pipeline #15320 failed with stage
in 7 minutes and 1 second
{% for src_addr in mail_forward_map|sort %}
{{ src_addr }} {{ mail_forward_map[src_addr] }}
{% for src_addr, dst_addr in mail_forward_map | dictsort %}
{{ src_addr }} {{ dst_addr }}
{% endfor %}
{% for src_addr in mail_alias_map|sort %}
{{ src_addr }} {{ mail_alias_map[src_addr] }}
{% for src_addr, dst_addr in mail_alias_map | dictsort %}
{{ src_addr }} {{ dst_addr }}
{% endfor %}
{# Generate abuse/postmaster/hostmaster entries for the internal domain #}
......@@ -20,9 +20,3 @@ abuse@{{ d }} {{ abuse_destination_addr }}
postmaster@{{ d }} {{ abuse_destination_addr }}
hostmaster@{{ d }} {{ abuse_destination_addr }}
{% endfor %}
{# Helpdesk conversation contacts #}
{% for q in helpdesk_queues | default([]) %}
{{ q.addr }} {{ q.name }}@helpdesk.{{ domain }}
{{ q.addr | regex_replace('@', '-comment@') }} {{ q.name }}-comment@helpdesk.{{ domain }}
{% endfor %}
{% for src_addr in mail_forward_map|sort %}
{{ src_addr }} {{ mail_forward_map[src_addr] }}
{% for src_addr, dst_addr in mail_forward_map | dictsort %}
{{ src_addr }} {{ dst_addr }}
{% endfor %}
# List archive transport
list-archive.{{ domain }} relay:[list-archive.{{ domain }}]:8067
# helpdesk-rt4
helpdesk.{{ domain }} relay:[helpdesk.{{ domain }}]:3825
{% for src_addr, relay in mail_transport_map | dictsort %}
{{ src_addr }} {{ relay }}
{% endfor %}
{% for src_addr in mail_alias_map|sort %}
{{ src_addr }} {{ mail_alias_map[src_addr] }}
{% for src_addr, dst_addr in mail_alias_map | dictsort %}
{{ src_addr }} {{ dst_addr }}
{% endfor %}
{# Generate abuse/postmaster/hostmaster entries for the internal domain #}
......@@ -20,9 +20,3 @@ abuse@{{ d }} {{ abuse_destination_addr }}
postmaster@{{ d }} {{ abuse_destination_addr }}
hostmaster@{{ d }} {{ abuse_destination_addr }}
{% endfor %}
{# Helpdesk conversation contacts #}
{% for q in helpdesk_queues | default([]) %}
{{ q.addr }} {{ q.name }}@helpdesk.{{ domain }}
{{ q.addr | regex_replace('@', '-comment@') }} {{ q.name }}-comment@helpdesk.{{ domain }}
{% endfor %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment