blob: 8370404b44a4b2c624f640367bdfe89cb0f05b0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#
# Initialize.
#
#! ../bin/postmap smtpd_check_access
#msg_verbose 1
smtpd_delay_reject 0
mynetworks 127.0.0.0/8,168.100.3.0/28
relay_domains porcupine.org
maps_rbl_domains dnsbltest.porcupine.org
rbl_reply_maps hash:smtpd_check_access
helo foobar
#
# RBL
#
mail sname@sdomain
recipient_restrictions reject_maps_rbl
client spike.porcupine.org 168.100.3.2
rcpt rname@rdomain
client foo 127.0.0.2
rcpt rname@rdomain
#
recipient_restrictions reject_rbl_client,dnsbltest.porcupine.org
client spike.porcupine.org 168.100.3.2
rcpt rname@rdomain
client foo 127.0.0.2
rcpt rname@rdomain
recipient_restrictions reject_rbl_client,dnsbltest.porcupine.org=127.0.0.2
client foo 127.0.0.2
rcpt rname@rdomain
client foo 127.0.0.1
rcpt rname@rdomain
#
# RHSBL sender domain name
#
recipient_restrictions reject_rhsbl_sender,rhsbl.porcupine.org
client spike.porcupine.org 168.100.3.2
mail sname@example.tld
rcpt rname@rdomain
mail sname@sdomain
rcpt rname@rdomain
#
# RHSBL client domain name
#
recipient_restrictions reject_rhsbl_client,rhsbl.porcupine.org
client example.tld 1.2.3.4
mail sname@sdomain
rcpt rname@rdomain
#
# RHSBL recipient domain name
#
recipient_restrictions reject_rhsbl_recipient,rhsbl.porcupine.org
client spike.porcupine.org 168.100.3.2
mail sname@sdomain
rcpt rname@rdomain
rcpt rname@example.tld
#
# RHSBL helo domain name
#
recipient_restrictions reject_rhsbl_helo,rhsbl.porcupine.org
helo example.tld
mail sname@sdomain
rcpt rname@rdomain
|