I think this sets up the paths appropriately - probably need to use the OS-Fixups...
[exim.git] / test / confs / 0092
1 acl_smtp_rcpt = check_recipient
2 acl_smtp_data = check_message
3
4 domainlist local_domains = test.ex : *.test.ex
5
6 domainlist relay_domains = test.ex
7
8 # Exim test configuration 0092
9
10 exim_path = EXIM_PATH
11 host_lookup_order = bydns
12 primary_hostname = myhost.test.ex
13 rfc1413_query_timeout = 0s
14 spool_directory = DIR/spool
15 log_file_path = DIR/spool/log/%slog
16 gecos_pattern = ""
17 gecos_name = CALLER_NAME
18
19 # ----- Main settings -----
20
21 smtp_receive_timeout = 2s
22 receive_timeout = 2s
23
24
25 begin acl
26
27 check_recipient:
28   accept  hosts = :
29   deny    message = unrouteable address
30           recipients = verify@test.ex
31          !verify = recipient
32   accept  domains = +local_domains
33   accept  domains = +relay_domains
34   deny    message = relay not permitted
35
36 check_message:
37   accept
38
39
40 # ----- Rewrite -----
41
42 # End
43
44
45
46
47 # ----- Routers -----
48
49 begin routers
50
51 fail_remote_domains:
52   driver = redirect
53   domains = ! +local_domains
54   data = :fail: unrouteable mail domain "$domain"
55
56 # ----- Directors -----
57
58 forward:
59   driver = redirect
60   file = DIR/aux-fixed/non-exist
61   retry_use_local_part
62
63 # End