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 = |
ee8b8090 JH |
15 | .ifdef _HAVE_PIPE_CONNECT |
16 | pipelining_connect_advertise_hosts = : | |
17 | .endif | |
afda344b PH |
18 | |
19 | # ----- Main settings ----- | |
20 | ||
f78eb7c6 | 21 | domainlist dlist = *.aa.bb : ^\Nxxx(.*) |
042eb971 JH |
22 | domainlist elist = +dlist : ;; |
23 | domainlist flist = <; a ; b;;c ; +elist ; 2001:630:212:8:204::b664 ; | |
afda344b PH |
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: | |
ec95d1a6 | 42 | deny hosts = <\n partial-lsearch;DIR/aux-fixed/0002.lsearch \n 1.2.3.4 |
afda344b PH |
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 | ||
723c72e6 | 51 | a_ret: |
525239c1 | 52 | accept message = ($acl_narg) [$acl_arg1] [$acl_arg2] |
723c72e6 JH |
53 | |
54 | a_none: | |
55 | accept | |
56 | ||
57 | a_deny: | |
bef3ea7f JH |
58 | deny message = ($acl_narg) [$acl_arg1] [$acl_arg2] |
59 | ||
60 | a_defer: | |
61 | defer | |
62 | ||
63 | a_sub: | |
ef21c07d | 64 | require acl = a_none foo bar baz barf |
bef3ea7f | 65 | require acl = a_deny "new arg1" $acl_arg1 |
723c72e6 | 66 | |
afda344b | 67 | # End |