diff options
author | 2020-05-21 21:06:57 +0200 | |
---|---|---|
committer | 2020-05-21 21:06:57 +0200 | |
commit | 8fc03de413af7e856ec13d9c0f651f4c34c450de (patch) | |
tree | bf0aac44374cfd5cd0da91cc67a6744decd74665 /smtpd/smtpd.conf | |
parent | Correct getsockname(2)/getpeername(2) usage. (diff) | |
download | OpenSMTPD-8fc03de413af7e856ec13d9c0f651f4c34c450de.tar.xz OpenSMTPD-8fc03de413af7e856ec13d9c0f651f4c34c450de.zip |
mv back
Diffstat (limited to 'smtpd/smtpd.conf')
-rw-r--r-- | smtpd/smtpd.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/smtpd/smtpd.conf b/smtpd/smtpd.conf new file mode 100644 index 00000000..a7ba6c64 --- /dev/null +++ b/smtpd/smtpd.conf @@ -0,0 +1,19 @@ +# $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/mail/aliases + +# To accept external mail, replace with: listen on all +# +listen on localhost + +action "local" maildir 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" |