dmzconf/etc/smtpd/smtpd.conf

22 lines
707 B
Plaintext

# $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"