Commit 2ed66ea9 authored by ale's avatar ale
Browse files

Set internal egress_policy on mail backend containers

parent 117cf708
Pipeline #30096 passed with stages
in 11 minutes and 25 seconds
...@@ -53,6 +53,7 @@ mail-backend: ...@@ -53,6 +53,7 @@ mail-backend:
DOMAIN: "{{ domain_public[0] }}" DOMAIN: "{{ domain_public[0] }}"
SHARD_ID: "{{ shard_id | default('') }}" SHARD_ID: "{{ shard_id | default('') }}"
APACHE_PORT: 8084 APACHE_PORT: 8084
egress_policy: internal
public_endpoints: public_endpoints:
- name: webmail - name: webmail
port: 8084 port: 8084
...@@ -129,6 +130,7 @@ mailman: ...@@ -129,6 +130,7 @@ mailman:
API_PORT: 6088 API_PORT: 6088
resources: resources:
ram: "4G" ram: "4G"
egress_policy: internal
monitoring_endpoints: monitoring_endpoints:
- job_name: mailman - job_name: mailman
port: 8187 port: 8187
...@@ -206,6 +208,7 @@ helpdesk: ...@@ -206,6 +208,7 @@ helpdesk:
SMTP_PORT: 3825 SMTP_PORT: 3825
SMTP_EHLO: "rt4.{{ domain }}" SMTP_EHLO: "rt4.{{ domain }}"
SMTP_RULES: "{% for q in helpdesk_queues | default([]) %}{% if not loop.first %};{% endif %}{{ q.name }}@helpdesk\\.{{ domain | regex_escape }}: spamc -u rt4 --log-to-stderr --pipe-to /usr/bin/rt-mailgate --url http://localhost:3881/rt --queue {{ q.name }} --action correspond;{{ q.name }}-comment@helpdesk\\.{{ domain | regex_escape }}: spamc -u rt4 --log-to-stderr --pipe-to /usr/bin/rt-mailgate --url http://localhost:3881/rt --queue {{ q.name }} --action comment{% endfor %}" SMTP_RULES: "{% for q in helpdesk_queues | default([]) %}{% if not loop.first %};{% endif %}{{ q.name }}@helpdesk\\.{{ domain | regex_escape }}: spamc -u rt4 --log-to-stderr --pipe-to /usr/bin/rt-mailgate --url http://localhost:3881/rt --queue {{ q.name }} --action correspond;{{ q.name }}-comment@helpdesk\\.{{ domain | regex_escape }}: spamc -u rt4 --log-to-stderr --pipe-to /usr/bin/rt-mailgate --url http://localhost:3881/rt --queue {{ q.name }} --action comment{% endfor %}"
egress_policy: internal
monitoring_endpoints: monitoring_endpoints:
- job_name: mariadb-helpdesk - job_name: mariadb-helpdesk
port: 9337 port: 9337
...@@ -267,6 +270,7 @@ feedback-loop: ...@@ -267,6 +270,7 @@ feedback-loop:
PORT: 5490 PORT: 5490
APP_CONFIG: /etc/feedback-loop.yml APP_CONFIG: /etc/feedback-loop.yml
port: 5490 port: 5490
egress_policy: internal
public_endpoints: public_endpoints:
- name: feedback-loop - name: feedback-loop
port: 5490 port: 5490
......
Supports Markdown
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