Merge branch 'experimental_ocsp'
[users/jgh/exim.git] / test / confs / 0372
1 # Exim test configuration 0372
2
3 STRICT=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = a1
18 acl_smtp_connect = a2
19
20 system_filter = DIR/aux-var/TESTNUM.F
21 trusted_users = CALLER
22 STRICT
23
24 # ----- ACL -----
25
26 begin acl
27
28 a1:
29   accept local_parts = x
30          set acl_m0  = value for m0 is local_part: $local_part
31          set acl_m5  = value for m5 contains newline\nthere!
32          set acl_m9  = value for m9 is domain: $domain
33          set acl_m_foo = value for mfoo is local_part: $local_part
34          set acl_m_bar = value for mbar is domain: $domain
35
36   accept local_parts = a
37          set acl_m0  = value for m0 is local_part: $local_part
38          set acl_m9  = value for m9 is domain: $domain
39
40 a2:
41   accept set acl_c0  = value for c0 is ip: $sender_host_address
42          set acl_c5  = c5 has a newline\nthere!
43          set acl_c9  = value for c9 is name: $sender_host_name
44          set acl_c_foo = value for c_foo is ip: $sender_host_address
45          set acl_c_bar = value for c_bar is name: $sender_host_name
46
47
48 # ----- Routers -----
49
50 begin routers
51
52 r1:
53   driver = accept
54   debug_print = acl_c0="$acl_c0"\nacl_c1="$acl_c1"\nacl_c2="$acl_c2"\n\
55                 acl_c3="$acl_c3"\nacl_c4="$acl_c4"\nacl_c5="$acl_c5"\n\
56                 acl_c6="$acl_c6"\nacl_c7="$acl_c7"\nacl_c8="$acl_c8"\n\
57                 acl_c9="$acl_c9"\nacl_m0="$acl_m0"\nacl_m1="$acl_m1"\n\
58                 acl_m2="$acl_m2"\nacl_m3="$acl_m3"\nacl_m4="$acl_m4"\n\
59                 acl_m5="$acl_m5"\nacl_m6="$acl_m6"\nacl_m7="$acl_m7"\n\
60                 acl_m8="$acl_m8"\nacl_m9="$acl_m9"\n\
61                 acl_m_foo="$acl_m_foo"\nacl_m_bar="$acl_m_bar"\n\
62                 acl_c_foo="$acl_c_foo"\nacl_c_bar="$acl_c_bar"
63   transport = t1
64
65
66 # ----- Transports -----
67
68 begin transports
69
70 t1:
71   driver = appendfile
72   file = /dev/null
73   user = CALLER
74
75 # End