.end -> .wen
[exim.git] / test / confs / 0002
1 # Exim test configuration 0002
2
3 LENCHECK=
4 PTBC=
5
6 exim_path = EXIM_PATH
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 rfc1413_query_timeout = 0s
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14
15 # ----- Main settings -----
16
17 domainlist dlist = *.aa.bb : ^\Nxxx(.*)
18 hostlist   hlist = V4NET.11.12.13 : iplsearch;DIR/aux-fixed/0002.iplsearch
19 headers_charset = iso-8859-8
20
21 acl_smtp_connect = connect${substr_-1_1:$sender_host_address}
22 acl_smtp_rcpt = accept
23 acl_smtp_data = check_data
24
25 PTBC
26 LENCHECK
27
28 # ----- ACL -----
29
30 begin acl
31
32 connect0:
33   accept
34
35 connect1:
36   deny  hosts = <\n partial-lsearch;DIR/aux-fixed/0002.lsearch \n 1.2.3.4
37
38 connect2:
39   deny  hosts = net-lsearch;DIR/aux-fixed/0002.lsearch
40
41 check_data:
42   warn  logwrite = Subject is: "$h_subject:"
43   deny  message = reply_address=<$reply_address>
44
45 # End