summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2008-02-17 05:22:08 +0000
committergshapiro <gshapiro@FreeBSD.org>2008-02-17 05:22:08 +0000
commit415a32c270380b14e68d150a9e4d14f3da1a7dd9 (patch)
treef2e615561e6551041d113f755319a261f8122f9d
parentcc52c823784cca47554887d10d295854ab6732d3 (diff)
downloadFreeBSD-src-415a32c270380b14e68d150a9e4d14f3da1a7dd9.zip
FreeBSD-src-415a32c270380b14e68d150a9e4d14f3da1a7dd9.tar.gz
Use better examples (and comment them out for safety).
PR: 118837 Submitted by: Matthew Seaman MFC after: 1 week
-rw-r--r--etc/mail/access.sample17
1 files changed, 12 insertions, 5 deletions
diff --git a/etc/mail/access.sample b/etc/mail/access.sample
index 81c7c3f..33cfe17 100644
--- a/etc/mail/access.sample
+++ b/etc/mail/access.sample
@@ -3,8 +3,15 @@
# Mail relay access control list. Default is to reject mail unless the
# destination is local, or listed in /etc/mail/local-host-names
#
-cyberspammer.com 550 We don't accept mail from spammers
-FREE.STEALTH.MAILER@ 550 We don't accept mail from spammers
-another.source.of.spam REJECT
-okay.cyberspammer.com OK
-128.32 RELAY
+
+## Examples (commented out for safety)
+#From:cyberspammer.com ERROR:"550 We don't accept mail from spammers"
+#From:okay.cyberspammer.com OK
+#Connect:sendmail.org RELAY
+#To:sendmail.org RELAY
+#Connect:128.32 RELAY
+#Connect:128.32.2 SKIP
+#Connect:IPv6:1:2:3:4:5:6:7 RELAY
+#Connect:suspicious.example.com QUARANTINE:Mail from suspicious host
+#Connect:[127.0.0.3] OK
+#Connect:[IPv6:1:2:3:4:5:6:7:8] OK
OpenPOWER on IntegriCloud