4 #! ../bin/postmap smtpd_check_access
7 mynetworks 127.0.0.0/8,168.100.189.0/28
9 # Test the client restrictions.
11 client_restrictions hash:./smtpd_check_access
12 client 4.1.1_dsn 1.2.3.4
13 client 4.1.2_dsn 1.2.3.4
14 client 4.1.3_dsn 1.2.3.4
15 client 4.1.4_dsn 1.2.3.4
16 client 4.1.5_dsn 1.2.3.4
17 client 4.1.6_dsn 1.2.3.4
18 client 4.1.7_dsn 1.2.3.4
19 client 4.1.8_dsn 1.2.3.4
20 client 4.4.0_dsn 1.2.3.4
23 # Test the helo restrictions
25 helo_restrictions hash:./smtpd_check_access
36 # Test the sender restrictions
38 sender_restrictions hash:./smtpd_check_access
49 # Test the recipient restrictions
51 recipient_restrictions hash:./smtpd_check_access