Skip to content

email_server: Open port 25 and document EMAIL_GATEWAY_PATTERN. #503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ COPY entrypoint.sh /sbin/entrypoint.sh
COPY certbot-deploy-hook /sbin/certbot-deploy-hook

VOLUME ["$DATA_DIR"]
EXPOSE 80 443
EXPOSE 25 80 443

ENTRYPOINT ["/sbin/entrypoint.sh"]
CMD ["app:run"]
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ services:
## Set this up if you plan to use your own CA certificate bundle for building
# CUSTOM_CA_CERTIFICATES:
ports:
- "25:25"
- "80:80"
- "443:443"
environment:
Expand Down Expand Up @@ -88,6 +89,10 @@ services:
## It seems that the email server needs to use ssl or tls and can't be used without it
SETTING_EMAIL_USE_SSL: "False"
SETTING_EMAIL_USE_TLS: "True"
## Uncomment to enable the incoming email gateway. You will need to
## ensure that email to emaildomain.example.com is routed to this host
## (e.g. via MX record)
# SETTING_EMAIL_GATEWAY_PATTERN: "%[email protected]"
ZULIP_AUTH_BACKENDS: "EmailAuthBackend"
## Uncomment this when configuring the mobile push notifications service
# SETTING_ZULIP_SERVICE_PUSH_NOTIFICATIONS: "True"
Expand Down
3 changes: 3 additions & 0 deletions kubernetes/chart/zulip/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: smtp
containerPort: 25
protocol: TCP
- name: http
containerPort: 80
protocol: TCP
Expand Down
3 changes: 3 additions & 0 deletions kubernetes/manual/zulip-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ spec:
# - name: SETTING_PUSH_NOTIFICATION_BOUNCER_URL
# value: 'https://push.zulipchat.com'
ports:
- containerPort: 25
name: smtp
protocol: TCP
- containerPort: 80
name: http
protocol: TCP
Expand Down
4 changes: 4 additions & 0 deletions kubernetes/manual/zulip-svc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ spec:
selector:
app: zulip
ports:
- name: smtp
port: 25
targetPort: 25
protocol: TCP
- name: http
port: 80
targetPort: 80
Expand Down