1# 2# Initialize. 3# 4#! ../bin/postmap smtpd_check_access 5#msg_verbose 1 6smtpd_delay_reject 0 7mynetworks 127.0.0.0/8,168.100.189.0/28 8# 9# Test the client restrictions. 10# 11client_restrictions hash:./smtpd_check_access 12client 4.1.1_dsn 1.2.3.4 13client 4.1.2_dsn 1.2.3.4 14client 4.1.3_dsn 1.2.3.4 15client 4.1.4_dsn 1.2.3.4 16client 4.1.5_dsn 1.2.3.4 17client 4.1.6_dsn 1.2.3.4 18client 4.1.7_dsn 1.2.3.4 19client 4.1.8_dsn 1.2.3.4 20client 4.4.0_dsn 1.2.3.4 21client dummy dummy 22# 23# Test the helo restrictions 24# 25helo_restrictions hash:./smtpd_check_access 26helo 4.1.1_dsn 27helo 4.1.2_dsn 28helo 4.1.3_dsn 29helo 4.1.4_dsn 30helo 4.1.5_dsn 31helo 4.1.6_dsn 32helo 4.1.7_dsn 33helo 4.1.8_dsn 34helo 4.4.0_dsn 35# 36# Test the sender restrictions 37# 38sender_restrictions hash:./smtpd_check_access 39mail user@4.1.1_dsn 40mail user@4.1.2_dsn 41mail user@4.1.3_dsn 42mail user@4.1.4_dsn 43mail user@4.1.5_dsn 44mail user@4.1.6_dsn 45mail user@4.1.7_dsn 46mail user@4.1.8_dsn 47mail user@4.4.0_dsn 48# 49# Test the recipient restrictions 50# 51recipient_restrictions hash:./smtpd_check_access 52rcpt user@4.1.1_dsn 53rcpt user@4.1.2_dsn 54rcpt user@4.1.3_dsn 55rcpt user@4.1.4_dsn 56rcpt user@4.1.5_dsn 57rcpt user@4.1.6_dsn 58rcpt user@4.1.7_dsn 59rcpt user@4.1.8_dsn 60rcpt user@4.4.0_dsn 61