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