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