Testsuite: handle OpenSSL 1.1.1
[exim.git] / test / confs / 0002
1 # Exim test configuration 0002
2
3 LENCHECK=
4 PTBC=
5
6 exim_path = EXIM_PATH
7 keep_environment = USER
8 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14 tls_advertise_hosts =
15
16 # ----- Main settings -----
17
18 domainlist dlist = *.aa.bb : ^\Nxxx(.*)
19 domainlist elist = +dlist : ;;
20 domainlist flist = <; a ; b;;c ; +elist ; 2001:630:212:8:204::b664 ;
21 hostlist   hlist = V4NET.11.12.13 : iplsearch;DIR/aux-fixed/0002.iplsearch
22 headers_charset = iso-8859-8
23
24 acl_smtp_connect = connect${substr_-1_1:$sender_host_address}
25 acl_smtp_rcpt = accept
26 acl_smtp_data = check_data
27
28 PTBC
29 LENCHECK
30
31 # ----- ACL -----
32
33 begin acl
34
35 connect0:
36   accept
37
38 connect1:
39   deny  hosts = <\n partial-lsearch;DIR/aux-fixed/0002.lsearch \n 1.2.3.4
40
41 connect2:
42   deny  hosts = net-lsearch;DIR/aux-fixed/0002.lsearch
43
44 check_data:
45   warn  logwrite = Subject is: "$h_subject:"
46   deny  message = reply_address=<$reply_address>
47
48 a_ret:
49   accept message = ($acl_narg) [$acl_arg1] [$acl_arg2]
50
51 a_none:
52   accept
53
54 a_deny:
55   deny message = ($acl_narg) [$acl_arg1] [$acl_arg2]
56
57 a_defer:
58   defer
59
60 a_sub:
61   require acl = a_none foo bar baz barf
62   require acl = a_deny "new arg1" $acl_arg1
63
64 # End