summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2012-10-11 21:16:28 +0000
committergilles <gilles@openbsd.org>2012-10-11 21:16:28 +0000
commit6468453d8f99f49bae805b8f2ce35eacb7ed96a0 (patch)
tree697ab3f55dca9fd64982d8ecb2f1d931ba25591e
parent- replace "from all" and "for all" with "from any" and "for any" (diff)
downloadwireguard-openbsd-6468453d8f99f49bae805b8f2ce35eacb7ed96a0.tar.xz
wireguard-openbsd-6468453d8f99f49bae805b8f2ce35eacb7ed96a0.zip
- replace "all" with "any"
- add examples for how to accept mail from external source and for a specific domain
-rw-r--r--etc/mail/smtpd.conf9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/mail/smtpd.conf b/etc/mail/smtpd.conf
index e3f13a97722..be8b805c2d6 100644
--- a/etc/mail/smtpd.conf
+++ b/etc/mail/smtpd.conf
@@ -1,11 +1,16 @@
-# $OpenBSD: smtpd.conf,v 1.4 2012/07/16 05:56:16 jmc Exp $
+# $OpenBSD: smtpd.conf,v 1.5 2012/10/11 21:16:28 gilles Exp $
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
+# To accept external mail, replace with: listen on all
+#
listen on lo0
map aliases source db "/etc/mail/aliases.db"
+# 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 all relay
+accept for any relay