Skip to content

Commit 1217509

Browse files
committed
email_server: Open port 25 and document EMAIL_GATEWAY_PATTERN.
1 parent 6a05ce7 commit 1217509

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ COPY entrypoint.sh /sbin/entrypoint.sh
7676
COPY certbot-deploy-hook /sbin/certbot-deploy-hook
7777

7878
VOLUME ["$DATA_DIR"]
79-
EXPOSE 80 443
79+
EXPOSE 25 80 443
8080

8181
ENTRYPOINT ["/sbin/entrypoint.sh"]
8282
CMD ["app:run"]

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ services:
5959
## Set this up if you plan to use your own CA certificate bundle for building
6060
# CUSTOM_CA_CERTIFICATES:
6161
ports:
62+
- "25:25"
6263
- "80:80"
6364
- "443:443"
6465
environment:
@@ -88,6 +89,10 @@ services:
8889
## It seems that the email server needs to use ssl or tls and can't be used without it
8990
SETTING_EMAIL_USE_SSL: "False"
9091
SETTING_EMAIL_USE_TLS: "True"
92+
## Uncomment to enable the incoming email gateway. You will need to
93+
## ensure that email to emaildomain.example.com is routed to this host
94+
## (e.g. via MX record)
95+
# SETTING_EMAIL_GATEWAY_PATTERN: "%[email protected]"
9196
ZULIP_AUTH_BACKENDS: "EmailAuthBackend"
9297
## Uncomment this when configuring the mobile push notifications service
9398
# SETTING_ZULIP_SERVICE_PUSH_NOTIFICATIONS: "True"

kubernetes/chart/zulip/templates/statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ spec:
4747
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4848
imagePullPolicy: {{ .Values.image.pullPolicy }}
4949
ports:
50+
- name: smtp
51+
containerPort: 25
52+
protocol: TCP
5053
- name: http
5154
containerPort: 80
5255
protocol: TCP

kubernetes/manual/zulip-rc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ spec:
137137
# - name: SETTING_PUSH_NOTIFICATION_BOUNCER_URL
138138
# value: 'https://push.zulipchat.com'
139139
ports:
140+
- containerPort: 25
141+
name: smtp
142+
protocol: TCP
140143
- containerPort: 80
141144
name: http
142145
protocol: TCP

kubernetes/manual/zulip-svc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ spec:
88
selector:
99
app: zulip
1010
ports:
11+
- name: smtp
12+
port: 25
13+
targetPort: 25
14+
protocol: TCP
1115
- name: http
1216
port: 80
1317
targetPort: 80

0 commit comments

Comments
 (0)