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