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