feat: add mail/v2

This commit is contained in:
lab
2021-12-21 03:15:49 +08:00
parent a019e05937
commit 53431dd15a
45 changed files with 1873 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
FROM alpine:3.15
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
&& apk add postfix postfix-pgsql \
&& postconf -e "maillog_file = /dev/stdout" \
&& rm -rf /var/cache/apk/*
EXPOSE 25 465
CMD ["/usr/sbin/postfix", "start-fg"]