Files
exim-docker/Dockerfile
Wolfgang Hottgenroth 0bf33c582f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
auth added
2024-12-20 23:56:43 +01:00

28 lines
537 B
Docker

FROM alpine:3.21.0
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="quay.io/wollud1969/exim-docker"
# domain to be used in sender address of sent mails
ENV LOCALMAILNAME=""
# smarthost to send mail to
ENV SMARTHOST=""
ENV SMARTHOST_USER=""
ENV SMARTHOST_PASS=""
# ip addresses or networks to allow for relaying, separate multiple ones by semicolon
ENV RELAYNETS=""
RUN apk add --no-cache exim bash
COPY exim.conf.tmpl /etc/exim
COPY start.sh /etc/exim
WORKDIR /etc/exim
EXPOSE 25
CMD [ "./start.sh" ]