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