exim-docker/Dockerfile

29 lines
624 B
Docker
Raw Normal View History

2024-12-11 10:55:34 +01:00
FROM alpine:3.21.0
2020-04-24 11:48:22 +00:00
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
2024-12-20 23:02:46 +01:00
LABEL ImageName="quay.io/wollud1969/exim-docker"
2024-12-10 13:27:12 +01:00
# domain to be used in sender address of sent mails
ENV LOCALMAILNAME=""
# smarthost to send mail to
ENV SMARTHOST=""
2024-12-20 23:56:43 +01:00
ENV SMARTHOST_USER=""
ENV SMARTHOST_PASS=""
2024-12-10 13:27:12 +01:00
# ip addresses or networks to allow for relaying, separate multiple ones by semicolon
2024-12-21 12:46:39 +01:00
ENV RELAYNETS="127.0.0.1/32"
2020-04-24 11:48:22 +00:00
2024-12-21 12:46:39 +01:00
RUN apk add --no-cache exim m4
2020-04-24 11:48:22 +00:00
2024-12-21 12:46:39 +01:00
COPY exim.conf.m4 /etc/exim
2024-12-11 11:32:47 +01:00
COPY start.sh /etc/exim
2024-12-11 10:55:34 +01:00
WORKDIR /etc/exim
2024-12-10 13:27:12 +01:00
EXPOSE 25
2020-04-24 11:48:22 +00:00
2024-12-11 11:32:47 +01:00
CMD [ "./start.sh" ]
2024-12-21 12:46:39 +01:00
#CMD [ "/usr/bin/m4 exim.conf.m4 > exim.conf && /usr/sbin/exim -bd -q15m -v" ]
2020-04-24 11:48:22 +00:00