added expansion tests for bool{} and bool_lax{}
[exim.git] / test / confs / 0185
1 # Exim test configuration 0185
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 domainlist local_domains = test.ex
14
15 acl_smtp_rcpt = check_recipient
16 qualify_domain = test.ex
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 check_recipient:
24   accept  hosts = :
25   accept  domains = +local_domains
26   deny    message = relay not permitted
27
28
29 # ----- Routers -----
30
31 begin routers
32
33 all_R:
34   driver = manualroute
35   domains = ! +local_domains
36   route_list = * 127.0.0.1 byname
37   self = send
38   transport = smtp
39   no_more
40
41 filter:
42   driver = redirect
43   allow_filter
44   allow_freeze
45   no_check_local_user
46   file = DIR/aux-var/TESTNUM.filter
47   owners =
48   reply_transport = autoreply
49   retry_use_local_part
50   user = CALLER
51
52 alias:
53   driver = redirect
54   allow_defer
55   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
56   retry_use_local_part
57
58 all_L:
59   driver = accept
60   retry_use_local_part
61   transport = appendfile
62
63
64 # ----- Transports -----
65
66 begin transports
67
68 appendfile:
69   driver = appendfile
70   file = DIR/test-mail/$local_part
71   user = CALLER
72
73 autoreply:
74   driver = autoreply
75   user = CALLER
76
77 smtp:
78   driver = smtp
79   port = PORT_S
80
81
82 # ----- Retry -----
83
84
85 begin retry
86
87 * * F,5d,1d
88
89
90 # End