Testsuite: debugging Solaris run ordering issue. Log +received_recipients
[users/jgh/exim.git] / test / confs / 0121
1 # Exim test configuration 0121
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 acl_smtp_rcpt = check_recipient
14 acl_smtp_data = check_message
15
16 domainlist local_domains = test.ex
17 domainlist relay_domains = test.ex
18 qualify_domain = test.ex
19
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   require verify = sender
27   accept  domains = +local_domains
28   accept  domains = +relay_domains
29   deny    message = relay not permitted
30
31 check_message:
32   require verify = header_sender
33   accept
34
35
36 # ----- Routers -----
37
38 begin routers
39
40 fail_remote_domains:
41   driver = redirect
42   domains = ! +local_domains
43   allow_fail
44   data = :fail: unrouteable mail domain "$domain"
45
46 defer:
47   driver = redirect
48   allow_defer
49   allow_fail
50   data = :defer: forced defer
51   local_parts = defer
52   retry_use_local_part
53
54 userx:
55   driver = accept
56   local_parts = userx
57   retry_use_local_part
58   transport = appendfile
59
60
61 # ----- Transports -----
62
63 begin transports
64
65 appendfile:
66   driver = appendfile
67   file = DIR/test-mail/$local_part
68   user = CALLER
69
70
71 # End