Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
68e1604570
|
|||
|
7e911e5372
|
|||
|
ef3cf827b8
|
|||
|
9a5f55b144
|
|||
|
6edd8cebfb
|
|||
|
44c2bfdd88
|
|||
|
ca9ff3cba6
|
|||
|
6cd2b001d6
|
|||
|
295cc587b3
|
|||
|
bc912f9127
|
|||
|
5b0b6b0589
|
|||
|
cb5b774f5d
|
@@ -3,7 +3,8 @@ FROM alpine:3.22.2
|
||||
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
|
||||
LABEL ImageName=""
|
||||
|
||||
RUN apk add --no-cache exim
|
||||
RUN \
|
||||
apk add --no-cache exim
|
||||
|
||||
COPY exim.conf /etc/exim
|
||||
RUN chmod 644 /etc/exim/exim.conf
|
||||
@@ -12,6 +13,6 @@ WORKDIR /etc/exim
|
||||
|
||||
EXPOSE 25
|
||||
|
||||
CMD [ "/usr/sbin/exim", "-bd", "-q15m", "-v" ]
|
||||
CMD [ "/usr/sbin/exim", "-bdf", "-q15m", "-v" ]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ fi
|
||||
|
||||
|
||||
IMAGE_NAME=gitea.hottis.de/deployments/exim-forwarder
|
||||
NAMESPACE=forwarder
|
||||
NAMESPACE=mail
|
||||
DEPLOYMENT_DIR=$PWD/deployment
|
||||
TOOLS_DIR=$PWD/tools
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@ tls_privatekey = /etc/exim/ssl/server.key
|
||||
|
||||
log_file_path = syslog
|
||||
log_selector = -all
|
||||
message_logs = true
|
||||
|
||||
|
||||
# acl_smtp_connect = acl_connect
|
||||
acl_smtp_helo = acl_helo
|
||||
@@ -35,9 +37,9 @@ acl_rcpt:
|
||||
deny message = Access denied (2)
|
||||
spf = fail
|
||||
|
||||
# Greylisting
|
||||
defer message = Try again later
|
||||
!seen = 72h / key=${sender_address}_${local_part}@${domain}
|
||||
## NO - Greylisting
|
||||
#defer message = Try again later
|
||||
# !seen = 72h / key=${sender_address}_${local_part}@${domain}
|
||||
|
||||
# Rate limit
|
||||
deny message = Access denied (3)
|
||||
|
||||
Reference in New Issue
Block a user