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