aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtpd.conf
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2018-09-01 12:42:59 +0200
committerGilles Chehade <gilles@poolp.org>2018-09-01 12:42:59 +0200
commita578007de0b6d136001a9c9694ac4badb27faa5b (patch)
treedaacc994aa625bbd08567624c6ea047269fef8fa /smtpd/smtpd.conf
parentinstall smtpctl with proper group (diff)
downloadOpenSMTPD-a578007de0b6d136001a9c9694ac4badb27faa5b.tar.xz
OpenSMTPD-a578007de0b6d136001a9c9694ac4badb27faa5b.zip
configuration file format has changed
Diffstat (limited to 'smtpd/smtpd.conf')
-rw-r--r--smtpd/smtpd.conf17
1 files changed, 11 insertions, 6 deletions
diff --git a/smtpd/smtpd.conf b/smtpd/smtpd.conf
index f47c962e..efecf2a6 100644
--- a/smtpd/smtpd.conf
+++ b/smtpd/smtpd.conf
@@ -1,14 +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
-# If you edit the file, you have to run "smtpctl update table aliases"
-table aliases file:/etc/mail/aliases
+action "local" mbox alias <aliases>
+action "relay" relay
# Uncomment the following to accept external mail for domain "example.org"
-#accept from any for domain "example.org" alias <aliases> deliver to mbox
-
-accept for local alias <aliases> deliver to mbox
-accept for any relay
+#
+# match from any for domain "example.org" action "local"
+match for local action "local"
+match from local for any action "relay"