xref: /freebsd/etc/mail/access.sample (revision 2008043f386721d58158e37e0d7e50df8095942d)
1#
2# Mail relay access control list.  Default is to reject mail unless the
3# destination is local, or listed in /etc/mail/local-host-names
4#
5
6## Examples (commented out for safety)
7#From:cyberspammer.com		ERROR:"550 We don't accept mail from spammers"
8#From:okay.cyberspammer.com	OK
9#Connect:sendmail.org		RELAY
10#To:sendmail.org		RELAY
11#Connect:128.32			RELAY
12#Connect:128.32.2		SKIP
13#Connect:IPv6:1:2:3:4:5:6:7	RELAY
14#Connect:suspicious.example.com	QUARANTINE:Mail from suspicious host
15#Connect:[127.0.0.3]		OK
16#Connect:[IPv6:1:2:3:4:5:6:7:8]	OK
17