add smtpd makefile

This commit is contained in:
2023-06-15 18:52:07 +02:00
parent 65cbec6832
commit d5654854c1
3 changed files with 58 additions and 1 deletions

21
etc/smtpd/smtpd.conf Normal file
View File

@@ -0,0 +1,21 @@
# $OpenBSD: smtpd.conf,v 1.10 2018/05/24 11:40:17 gilles Exp $
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
table aliases file:/etc/smtpd/aliases
# To accept external mail, replace with: listen on all
#
pki splintrs cert "/etc/letsencrypt/live/splint.rs/fullchain.pem"
pki splintrs key "/etc/letsencrypt/live/splint.rs/privkey.pem"
listen on end0 tls pki splintrs
#action "local" maildir alias <aliases>
action "relay" relay backup
# Uncomment the following to accept external mail for domain "example.org"
#
# match from any for domain "example.org" action "local"
#match for local action "local"
match from any for domain dmz.rs action "relay"