better build for dyn modules
[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 .ifdef _HAVE_PIPE_CONNECT
16 pipelining_connect_advertise_hosts = :
17 .endif
18 .ifdef _HAVE_DMARC
19 dmarc_tld_file =
20 .endif
21
22 # ----- Main settings -----
23
24 domainlist dlist = *.aa.bb : ^\Nxxx(.*)
25 domainlist elist = +dlist : ;;
26 domainlist flist = <; a ; b;;c ; +elist ; 2001:630:212:8:204::b664 ;
27 hostlist   hlist = V4NET.11.12.13 : iplsearch;DIR/aux-fixed/0002.iplsearch
28 headers_charset = iso-8859-8
29
30 acl_smtp_connect = connect${substr_-1_1:$sender_host_address}
31 acl_smtp_rcpt = accept
32 acl_smtp_data = check_data
33
34 PTBC
35 LENCHECK
36
37 # ----- ACL -----
38
39 begin acl
40
41 connect0:
42   accept logwrite = connection_id: $connection_id
43
44 connect1:
45   deny  hosts = <\n partial-lsearch;DIR/aux-fixed/0002.lsearch \n 1.2.3.4
46
47 connect2:
48   deny  hosts = net-lsearch;DIR/aux-fixed/0002.lsearch
49
50 check_data:
51   warn  logwrite = Subject is: "$h_subject:"
52   deny  message = reply_address=<$reply_address>
53
54 a_ret:
55   accept message = ($acl_narg) [$acl_arg1] [$acl_arg2]
56
57 a_none:
58   accept
59
60 a_deny:
61   deny message = ($acl_narg) [$acl_arg1] [$acl_arg2]
62
63 a_defer:
64   defer
65
66 a_sub:
67   require acl = a_none foo bar baz barf
68   require acl = a_deny "new arg1" $acl_arg1
69
70 # End