FROM alpine:3.21.0 LABEL Maintainer="Wolfgang Hottgenroth " 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="127.0.0.1/32" RUN apk add --no-cache exim m4 openssl COPY exim.conf.m4 /etc/exim COPY start.sh /etc/exim WORKDIR /etc/exim EXPOSE 25 CMD [ "./start.sh" ] #CMD [ "/usr/bin/m4 exim.conf.m4 > exim.conf && /usr/sbin/exim -bd -q15m -v" ]