From d2be86d37b9e8f74202c2638c276089f64748c4d Mon Sep 17 00:00:00 2001 From: gilles <> Date: Thu, 24 May 2018 11:40:17 +0000 Subject: [PATCH] update default config to new grammar ok eric@ --- src/etc/mail/smtpd.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/etc/mail/smtpd.conf b/src/etc/mail/smtpd.conf index 9b489619..af8adea5 100644 --- a/src/etc/mail/smtpd.conf +++ b/src/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"