Merge branch 'acl'
[exim.git] / test / confs / 0300
1 # Exim test configuration 0300
2
3 DELAY=0s
4 PAH=127.0.0.1
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 acl_smtp_connect = check_connect
18 acl_smtp_helo = check_helo
19 acl_smtp_rcpt = accept
20 pipelining_advertise_hosts = PAH
21
22
23 # ----- ACL -----
24
25 begin ACL
26
27 check_connect:
28   accept     delay = DELAY
29
30 check_helo:
31   warn     condition = ${if eq {$sender_helo_name}{dis.able}{yes}{no}}
32            control = no_enforce_sync
33   accept
34
35
36 # ------ Routers ------
37
38 begin routers
39
40 r1:
41   driver = redirect
42   data = :blackhole:
43
44 # End