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