Merge branch 'master' into transp_logging_1031
[users/jgh/exim.git] / test / confs / 0030
1 # Exim test configuration 0030
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = check_rcpt
15
16
17 # ------ ACL ------
18
19 begin acl
20
21 check_rcpt:
22   accept  message   = <<$address_data>>
23           verify    = recipient
24           message   = >>$address_data<<
25           condition = no
26
27
28 # ------ Routers ------
29
30 begin routers
31
32 r1:
33   driver = accept
34   address_data = data from accept router
35   local_parts = OK
36   transport = t1
37
38 # Always declines, but sets $address_data
39
40 r2:
41   driver = redirect
42   address_data = data from redirect router
43   data =
44
45
46 # ------ Transports ------
47
48 begin transports
49
50 t1:
51   driver = appendfile
52   file = /dev/null
53
54 # End