summaryrefslogtreecommitdiffstats
path: root/src/smtpd/smtpd_check_dsn.in
blob: 459bd5d9ed9e497c0b30bec3e5f625a590d70d9f (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
#
# Initialize.
#
#! ../bin/postmap smtpd_check_access
#msg_verbose 1
smtpd_delay_reject 0
mynetworks 127.0.0.0/8,168.100.189.0/28
#
# Test the client restrictions.
#
client_restrictions hash:./smtpd_check_access
client 4.1.1_dsn 1.2.3.4
client 4.1.2_dsn 1.2.3.4
client 4.1.3_dsn 1.2.3.4
client 4.1.4_dsn 1.2.3.4
client 4.1.5_dsn 1.2.3.4
client 4.1.6_dsn 1.2.3.4
client 4.1.7_dsn 1.2.3.4
client 4.1.8_dsn 1.2.3.4
client 4.4.0_dsn 1.2.3.4
client dummy dummy
#
# Test the helo restrictions
#
helo_restrictions hash:./smtpd_check_access
helo 4.1.1_dsn
helo 4.1.2_dsn
helo 4.1.3_dsn
helo 4.1.4_dsn
helo 4.1.5_dsn
helo 4.1.6_dsn
helo 4.1.7_dsn
helo 4.1.8_dsn
helo 4.4.0_dsn
#
# Test the sender restrictions
#
sender_restrictions hash:./smtpd_check_access
mail user@4.1.1_dsn
mail user@4.1.2_dsn
mail user@4.1.3_dsn
mail user@4.1.4_dsn
mail user@4.1.5_dsn
mail user@4.1.6_dsn
mail user@4.1.7_dsn
mail user@4.1.8_dsn
mail user@4.4.0_dsn
#
# Test the recipient restrictions
#
recipient_restrictions hash:./smtpd_check_access
rcpt user@4.1.1_dsn
rcpt user@4.1.2_dsn
rcpt user@4.1.3_dsn
rcpt user@4.1.4_dsn
rcpt user@4.1.5_dsn
rcpt user@4.1.6_dsn
rcpt user@4.1.7_dsn
rcpt user@4.1.8_dsn
rcpt user@4.4.0_dsn