FROM alpine:3.21.3 LABEL Maintainer="Wolfgang Hottgenroth " LABEL ImageName="" # domain to be used in sender address of sent mails ENV LOCALMAILNAME="" # smarthost to send mail to ENV SMARTHOST="" # 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" ]