Retry items for address errors that included the sender address (a
[exim.git] / test / confs / 0416
1 # Exim test configuration 0416
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 primary_hostname = mail.test.ex
14 qualify_domain = test.ex
15 queue_only
16 no_queue_only_override
17
18 acl_smtp_helo = helo
19 acl_smtp_mail = mail
20 acl_smtp_rcpt = ${if eq{$local_part}{nested_discard}{nested_rcpt}{rcpt}}
21 acl_smtp_data = data
22 acl_not_smtp = notsmtp
23
24 log_selector = +received_recipients
25
26
27 # ----- ACLs -----
28
29 begin acl
30
31 helo:
32   discard
33
34 mail:
35   discard senders = discard@x.y
36           log_message = discard message 2
37   accept
38
39 rcpt:
40   discard local_parts = discard
41           log_message = discard message 1
42   accept
43
44 nested_rcpt:
45   accept  acl = helo
46
47 data:
48   discard condition = ${if match{$recipients}{data_message_discard}}
49           log_message = discard message 3
50   discard condition = $h_discard:
51   accept
52
53 notsmtp:
54   discard condition = ${if match{$recipients}{data_message_discard}}
55           log_message = discard message 4
56   discard condition = $h_discard:
57   accept
58
59 # End