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