Skip to content

Commit

Permalink
Drop supervisor and run Postfix in the foreground
Browse files Browse the repository at this point in the history
  • Loading branch information
djjudas21 committed Feb 23, 2024
1 parent d62052a commit 12a4731
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.19
LABEL maintainer "Jonathan Gazeley"

RUN apk add --no-cache postfix supervisor \
RUN apk add --no-cache postfix \
&& /usr/bin/newaliases

COPY . /
Expand Down
6 changes: 0 additions & 6 deletions etc/supervisor.d/postfix.ini

This file was deleted.

3 changes: 2 additions & 1 deletion smtp-relay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ postconf 'always_add_missing_headers = yes' || exit 1
# Log to stdout
postconf 'maillog_file = /dev/stdout' || exit 1

/usr/bin/supervisord -n
# Start postfix
postfix start-fg

0 comments on commit 12a4731

Please sign in to comment.