summaryrefslogtreecommitdiff
path: root/openbsd
diff options
context:
space:
mode:
authorPaul Buetow <openbsd@mx.buetow.org>2021-12-30 01:28:17 +0100
committerPaul Buetow <openbsd@mx.buetow.org>2021-12-30 01:28:17 +0100
commit55cc67d8def58561b3b07247b00e5d5ecdb1bb7e (patch)
treeeef3eb4323d3a3c33ab2ff1f4d5b881dc3c93b0e /openbsd
parent5d14ee5200c9c0fb22d62e4b448bfe81fcf24fc8 (diff)
add tls to the mix for smtpd
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/blowfish.buetow.org/etc/mail/smtpd.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/openbsd/blowfish.buetow.org/etc/mail/smtpd.conf b/openbsd/blowfish.buetow.org/etc/mail/smtpd.conf
index e921004..552d186 100644
--- a/openbsd/blowfish.buetow.org/etc/mail/smtpd.conf
+++ b/openbsd/blowfish.buetow.org/etc/mail/smtpd.conf
@@ -1,12 +1,18 @@
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
+# I used https://www.checktls.com/TestReceiver for testing.
+
+pki "buetow_org_tls" cert "/etc/ssl/buetow.org.fullchain.pem"
+pki "buetow_org_tls" key "/etc/ssl/private/buetow.org.key"
+
table aliases file:/etc/mail/aliases
table virtualdomains file:/etc/mail/virtualdomains
table virtualusers file:/etc/mail/virtualusers
listen on socket
-listen on all
+listen on all tls pki "buetow_org_tls" hostname "buetow.org"
+#listen on all
action localmail mbox alias <aliases>
action receive mbox virtual <virtualusers>