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