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