Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
config
Commits
66cd03cc
Commit
66cd03cc
authored
3 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Set internal egress_policy on mail backend containers
parent
1250744f
No related branches found
No related tags found
1 merge request
!155
Set internal egress_policy on mail backend containers
Pipeline
#53488
passed
2 years ago
Stage: deploy
Stage: run
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
services.mail.yml
+4
-0
4 additions, 0 deletions
services.mail.yml
with
4 additions
and
0 deletions
services.mail.yml
+
4
−
0
View file @
66cd03cc
...
@@ -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
...
@@ -268,6 +271,7 @@ feedback-loop:
...
@@ -268,6 +271,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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment