From eade52365b3a90f56c4a34bbc18ac2b16a9172c0 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Thu, 24 May 2018 11:40:18 +0000 Subject: update default config to new grammar ok eric@ --- etc/mail/smtpd.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/etc/mail/smtpd.conf b/etc/mail/smtpd.conf index 9b489619934..af8adea5dbe 100644 --- a/etc/mail/smtpd.conf +++ b/etc/mail/smtpd.conf @@ -1,4 +1,4 @@ -# $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $ +# $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. @@ -9,8 +9,11 @@ table aliases file:/etc/mail/aliases # listen on lo0 +action "local" mbox alias +action "relay" relay + # Uncomment the following to accept external mail for domain "example.org" # -# accept from any for domain "example.org" alias deliver to mbox -accept for local alias deliver to mbox -accept from local for any relay +# match from any for domain "example.org" action "local" +match for local action "local" +match from local for any action "relay" -- cgit v1.2.3