blob: 752ba0495476aa3403cee8aa7ef7cdd8e7bbdc8f (
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
|
# Exim test configuration 0416
.include DIR/aux-var/std_conf_prefix
# ----- Main settings -----
primary_hostname = mail.test.ex
qualify_domain = test.ex
queue_only
no_queue_only_override
acl_smtp_helo = helo
acl_smtp_mail = mail
acl_smtp_rcpt = ${if eq{$local_part}{nested_discard}{nested_rcpt}{rcpt}}
acl_smtp_data = data
acl_not_smtp = notsmtp
log_selector = +received_recipients
# ----- ACLs -----
begin acl
helo:
discard
mail:
discard senders = discard@x.y
log_message = discard message 2
accept
rcpt:
discard local_parts = discard
log_message = discard message 1
accept
nested_rcpt:
accept acl = helo
data:
discard condition = ${if match{$recipients}{data_message_discard}}
log_message = discard message 3
discard condition = $h_discard:
accept
notsmtp:
discard condition = ${if match{$recipients}{data_message_discard}}
log_message = discard message 4
discard condition = $h_discard:
accept
# End
|