Do RE compilations at daemon startup. Bug 1568
[users/heiko/exim.git] / test / confs / 0365
1 # Exim test configuration 0365
2
3 DETAILS=false
4 SELECTOR=
5
6 exim_path = EXIM_PATH
7 host_lookup_order = bydns
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_data = acl_data
16 acl_smtp_rcpt = acl_rcpt
17 log_selector = SELECTOR
18 qualify_domain = test.ex
19 queue_run_in_order
20 smtp_return_error_details = DETAILS
21 trusted_users = CALLER
22
23
24 # ----- ACL -----
25
26 begin acl
27
28 acl_data:
29   accept   senders = ^nosyntax@
30            verify  = header_sender
31
32   accept   senders = !^nosyntax@
33            verify  = header_syntax
34            verify  = header_sender
35
36
37 acl_rcpt:
38   accept   local_parts = ^cantverify
39            endpass
40            verify  = recipient
41
42   accept   senders = ^nosyntax@
43
44   accept   senders = ^recipcallout@
45            endpass
46            verify  = recipient/callout=1s
47
48   accept   verify  = sender/callout=1s
49
50
51 # ----- Routers -----
52
53 begin routers
54
55 verify:
56   driver = accept
57   transport = smtp
58   local_parts = ok
59
60 callout:
61   driver = manualroute
62   transport = smtp
63   local_parts = callout
64   route_data = V4NET.0.0.0
65
66 foo:
67   driver = redirect
68   local_parts = ^cantverify
69   data = newname
70
71 test:
72   driver = redirect
73   local_parts = newname
74   data = ${if match{$original_local_part}{fail}\
75          {:fail: failure message}\
76          {:defer: defer message}}
77   allow_fail
78   allow_defer
79
80
81
82 # ----- Transports -----
83
84 begin transports
85
86 smtp:
87   driver = smtp
88
89 # End