summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2012-10-11 21:16:29 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2012-10-11 21:16:29 +0000
commit815bd1277670a815b22caa59a7629829181de586 (patch)
treeb04d637a32517091b44071fba909a9c0ee496456 /etc
parent3dc73f86b304789003ef85cfec14eb6a7b4186b2 (diff)
- replace "all" with "any"
- add examples for how to accept mail from external source and for a specific domain
Diffstat (limited to 'etc')
-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