Skip to content

Commit

Permalink
Merge pull request #5 from djjudas21/logging
Browse files Browse the repository at this point in the history
Logging
  • Loading branch information
djjudas21 authored Feb 23, 2024
2 parents 0ec3424 + 12a4731 commit 5ea0333
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 28 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 rsyslog supervisor \
RUN apk add --no-cache postfix \
&& /usr/bin/newaliases

COPY . /
Expand Down
6 changes: 0 additions & 6 deletions etc/rsyslog.conf

This file was deleted.

3 changes: 0 additions & 3 deletions etc/rsyslog.d/imux.conf

This file was deleted.

1 change: 0 additions & 1 deletion etc/rsyslog.d/maillog.conf

This file was deleted.

3 changes: 0 additions & 3 deletions etc/rsyslog.d/stdout.conf

This file was deleted.

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

This file was deleted.

7 changes: 0 additions & 7 deletions etc/supervisor.d/rsyslog.ini

This file was deleted.

6 changes: 5 additions & 1 deletion smtp-relay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ postconf 'smtputf8_enable = no' || exit 1
# This makes sure the message id is set. If this is set to no dkim=fail will happen.
postconf 'always_add_missing_headers = yes' || exit 1

/usr/bin/supervisord -n
# Log to stdout
postconf 'maillog_file = /dev/stdout' || exit 1

# Start postfix
postfix start-fg

0 comments on commit 5ea0333

Please sign in to comment.