Skip to content

Commit

Permalink
Update to alpine 3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
jchonig committed Jan 30, 2022
1 parent aa2a7ed commit d516d17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
From lsiobase/alpine:3.13
From lsiobase/alpine:3.15

ENV \
USE_SASL= \
# Works around an sasldb bug in Alpine 3.13 \
USE_SASLAUTHD=yes \
USE_SASLAUTHD=no \
USE_DKIM= \
USE_TLS= \
MYHOSTNAME= \
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ VOLUMES= \
-v ${PWD}/config:/config
ENV= \
-e USE_SASL=yes \
-e USE_SASLAUTHD=yes \
-e USE_TLS=yes \
-e MYHOSTNAME=home.honig.net \
-e MYORIGIN=honig.net \
Expand All @@ -23,7 +22,7 @@ run: build
docker run ${VOLUMES} ${ENV} ${PORTS} -it ${IMAGE}:${TAG}

sasl_users: build
docker run ${VOLUMES} ${ENV} ${PORTS} -it ${IMAGE}:${TAG} sasl_users
docker run ${VOLUMES} ${ENV} ${PORTS} -it ${IMAGE}:${TAG} update_sasldb_users

# Run the container with just a bash shell
run-bash: build
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ services:
+ When USE_TLS is enabled, /config/server.cert and /config/server.key should must exist
+ When using SASL, /config/sasl.users should should have one entry per line of user and password seperated by a space
+ When using SASL, run *update_sasldb_users when that file is updated
+ When using SASL, a bug in Alpine 3.13 requires USE_SASLAUTHD=yes
+ Additonal postfix configuration can be stored in /config/postconf as arguments to the postconf command

## TODO
Expand Down

0 comments on commit d516d17

Please sign in to comment.