Merge branch 'master'
[users/heiko/exim.git] / test / confs / 0372
1 # Exim test configuration 0372
2
3 STRICT=
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
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
16 # ----- Main settings -----
17
18 acl_smtp_rcpt = a1
19 acl_smtp_connect = a2
20
21 system_filter = DIR/aux-var/TESTNUM.F
22 trusted_users = CALLER
23 STRICT
24
25 # ----- ACL -----
26
27 begin acl
28
29 a1:
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
34          set acl_m_foo = value for mfoo is local_part: $local_part
35          set acl_m_bar = value for mbar is domain: $domain
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
41 a2:
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
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
47
48
49 # ----- Routers -----
50
51 begin routers
52
53 r1:
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\
61                 acl_m8="$acl_m8"\nacl_m9="$acl_m9"\n\
62                 acl_m_foo="$acl_m_foo"\nacl_m_bar="$acl_m_bar"\n\
63                 acl_c_foo="$acl_c_foo"\nacl_c_bar="$acl_c_bar"
64   transport = t1
65
66
67 # ----- Transports -----
68
69 begin transports
70
71 t1:
72   driver = appendfile
73   file = /dev/null
74   user = CALLER
75
76 # End