4
#! ../bin/postmap smtpd_check_access
7
mynetworks 127.0.0.0/8,168.100.189.0/28
8
relay_domains porcupine.org
9
maps_rbl_domains relays.mail-abuse.org
10
rbl_reply_maps hash:smtpd_check_access
16
recipient_restrictions reject_maps_rbl
17
client spike.porcupine.org 168.100.189.2
22
recipient_restrictions reject_rbl_client,relays.mail-abuse.org
23
client spike.porcupine.org 168.100.189.2
27
recipient_restrictions reject_rbl_client,relays.mail-abuse.org=127.0.0.2
33
# RHSBL sender domain name
35
recipient_restrictions reject_rhsbl_sender,dsn.rfc-ignorant.org
36
client spike.porcupine.org 168.100.189.2
37
mail sname@example.tld
42
# RHSBL client domain name
44
recipient_restrictions reject_rhsbl_client,dsn.rfc-ignorant.org
45
client example.tld 1.2.3.4
49
# RHSBL recipient domain name
51
recipient_restrictions reject_rhsbl_recipient,dsn.rfc-ignorant.org
52
client spike.porcupine.org 168.100.189.2
55
rcpt rname@example.tld
57
# RHSBL helo domain name
59
recipient_restrictions reject_rhsbl_helo,abuse.rfc-ignorant.org
66
helo_restrictions check_helo_mx_access,hash:smtpd_check_access
67
#helo verisign-wildcard.com
70
sender_restrictions check_sender_mx_access,hash:smtpd_check_access
72
#mail foo@verisign-wildcard.com
74
recipient_restrictions check_recipient_mx_access,hash:smtpd_check_access
75
#rcpt foo@verisign-wildcard.com
77
rcpt foo@1.2.3.porcupine.org
81
helo_restrictions check_helo_ns_access,hash:smtpd_check_access
82
helo email-publisher.com
84
#helo verisign-wildcard.com
86
sender_restrictions check_sender_ns_access,hash:smtpd_check_access
87
mail foo@email-publisher.com
88
mail foo@ns1.topica.com
89
#mail foo@verisign-wildcard.com
90
recipient_restrictions check_recipient_ns_access,hash:smtpd_check_access
91
rcpt foo@email-publisher.com
92
rcpt foo@ns1.topica.com
93
#rcpt foo@verisign-wildcard.com
94
rcpt foo@1.2.3.porcupine.org