xref: /freebsd/etc/mail/access.sample (revision 0a36787e4c1fa0cf77dcf83be0867178476e372b)
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