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