summaryrefslogtreecommitdiffstats
path: root/src/smtpd/smtpd_nullmx.in
blob: 58eede33a131ca159a235f0d16ff587061475be9 (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
#
# 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
#
# reject_unknown_helo_hostname
#
smtpd_delay_reject 0
helo_restrictions reject_unknown_helo_hostname
client spike.porcupine.org 168.100.3.2
mail sname@sdomain
rcpt rname@rdomain
helo nxdomain.porcupine.org
helo nullmx.porcupine.org
helo spike.porcupine.org
#
# reject_unknown_sender_domain
#
smtpd_delay_reject 0
sender_restrictions reject_unknown_sender_domain
client spike.porcupine.org 168.100.3.2
helo spike.porcupine.org
rcpt rname@rdomain
mail sname@nxdomain.porcupine.org
mail sname@nullmx.porcupine.org
mail sname@spike.porcupine.org
#
# reject_unknown_recipient_domain
#
smtpd_delay_reject 0
sender_restrictions permit
recipient_restrictions reject_unknown_recipient_domain
relay_restrictions reject_unauth_destination
client spike.porcupine.org 168.100.3.2
helo spike.porcupine.org
mail sname@sdomain
relay_domains nxdomain.porcupine.org
rcpt rname@nxdomain.porcupine.org
relay_domains nullmx.porcupine.org
rcpt rname@nullmx.porcupine.org
relay_domains spike.porcupine.org
rcpt rname@spike.porcupine.org
#
# check_mx_access
#
smtpd_delay_reject 0
sender_restrictions check_sender_mx_access,hash:smtpd_check_access
client spike.porcupine.org 168.100.3.2
mail sname@nxdomain.porcupine.org
mail sname@nullmx.porcupine.org
mail sname@spike.porcupine.org