opensmtpd
parent
8e9d25df0c
commit
c7d313f6fc
|
@ -0,0 +1,15 @@
|
|||
FROM alpine:3.14
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
opensmtpd \
|
||||
opensmtpd-extras \
|
||||
rspamd \
|
||||
opensmtpd-filter-rspamd && \
|
||||
adduser \
|
||||
-h /var/vmail \
|
||||
-s /sbin/nologin \
|
||||
-u 2000 \
|
||||
-S -D \
|
||||
vmail
|
||||
|
||||
CMD ["smtpd", "-d"]
|
|
@ -0,0 +1,10 @@
|
|||
USERNAME = rilla
|
||||
IMG_NAME = opensmtpd
|
||||
|
||||
.PHONY: build build-nc
|
||||
|
||||
build: Dockerfile
|
||||
docker build -t $(USERNAME)/$(IMG_NAME) .
|
||||
|
||||
build-nc: Dockerfile
|
||||
docker build --no-cache -t $(USERNAME)/$(IMG_NAME) .
|
Loading…
Reference in New Issue