73550b3958dd05ed9b5157e1b1338f228ae271e4
[exim.git] / test / confs / 0105
1 # Exim test configuration 0105
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 acl_smtp_rcpt = check_recipient
13 acl_smtp_data = check_message
14
15 domainlist local_domains = test.ex
16 qualify_domain = test.ex
17
18
19 # ----- Routers -----
20
21 begin routers
22
23 userlist:
24   driver = accept
25   condition = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.list}}
26   retry_use_local_part
27   transport = local_delivery
28
29 default:
30   driver = redirect
31   data = default@$domain
32   redirect_router = default_part2
33   retry_use_local_part
34
35 default_part2:
36   driver = accept
37   condition = ${if eq{$local_part@$domain}{default@$domain}{yes}{no}}
38   transport = local_delivery
39
40
41 # ----- Transports -----
42
43 begin transports
44
45 local_delivery:
46   driver = appendfile
47   delivery_date_add
48   envelope_to_add
49   file = DIR/test-mail/$local_part
50   return_path_add
51   user = CALLER
52
53 # End