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