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