Install opensmtpd

This commit is contained in:
ItsDrike 2025-09-10 00:31:14 +02:00
parent c6fab34f0a
commit 41dc0a9080
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
2 changed files with 25 additions and 2 deletions

22
root/etc/smtpd/smtpd.conf Normal file
View file

@ -0,0 +1,22 @@
# $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 also accept external mail over IPv4 or IPv6,
# respectively replace "listen on localhost" with:
#
# listen on 0.0.0.0
# listen on ::
listen on localhost
action "local" mbox alias <aliases>
#action "relay" relay
# 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 local for any action "relay"