Commit | Line | Data |
---|---|---|
afda344b PH |
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 | |
afda344b PH |
9 | spool_directory = DIR/spool |
10 | log_file_path = DIR/spool/log/%slog | |
11 | gecos_pattern = "" | |
12 | gecos_name = CALLER_NAME | |
23f3dc67 | 13 | tls_advertise_hosts = |
afda344b PH |
14 | |
15 | # ----- Main settings ----- | |
16 | ||
f78eb7c6 | 17 | domainlist dlist = *.aa.bb : ^\Nxxx(.*) |
042eb971 JH |
18 | domainlist elist = +dlist : ;; |
19 | domainlist flist = <; a ; b;;c ; +elist ; 2001:630:212:8:204::b664 ; | |
afda344b PH |
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: | |
ec95d1a6 | 38 | deny hosts = <\n partial-lsearch;DIR/aux-fixed/0002.lsearch \n 1.2.3.4 |
afda344b PH |
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 | ||
723c72e6 | 47 | a_ret: |
525239c1 | 48 | accept message = ($acl_narg) [$acl_arg1] [$acl_arg2] |
723c72e6 JH |
49 | |
50 | a_none: | |
51 | accept | |
52 | ||
53 | a_deny: | |
bef3ea7f JH |
54 | deny message = ($acl_narg) [$acl_arg1] [$acl_arg2] |
55 | ||
56 | a_defer: | |
57 | defer | |
58 | ||
59 | a_sub: | |
ef21c07d | 60 | require acl = a_none foo bar baz barf |
bef3ea7f | 61 | require acl = a_deny "new arg1" $acl_arg1 |
723c72e6 | 62 | |
afda344b | 63 | # End |