Add simple SMTP relay

This commit is contained in:
Steffen Lange 2021-06-06 17:02:25 +02:00
parent df472215b2
commit 137b188480
6 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,11 @@
pki "server" cert "/etc/smtpd/cert.pem"
pki "server" key "/etc/smtpd/key.pem"
table creds file:/etc/smtpd/creds
listen on eth0 port 587 tls-require pki "server" auth <creds> hostname smtprelay.codehal.de
action "relay" relay
match from auth for any action "relay"