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