commit fbe144ec8336e39d891ee593dfa68e236d765255
parent f8592d7db9933e51c6ef2db4367e13824e1d9701
Author: Petar Yotsev <petar@yotsev.xyz>
Date: Mon, 13 Dec 2021 22:06:26 +0000
Listen on all (smtpd.conf)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/files/smtpd.conf b/files/smtpd.conf
@@ -12,6 +12,7 @@ table virtuals file:/etc/mail/virtuals
filter "rspamd" proc-exec "/usr/local/libexec/smtpd/filter-rspamd"
# listen directives
+listen on all tls pki "mail" hostname "<maildom>" filter "rspamd"
listen on egress port 587 tls-require pki "mail" \
hostname "<maildom>" auth <credentials> filter "rspamd"
@@ -22,5 +23,5 @@ action "outbound" relay helo "<domain>"
# accept external mail
match from any for domain "<domain>" action "inbound"
match from local for local action "local"
-match from auth for any action "outbound"
match from local for any action "outbound"
+match from auth for any action "outbound"