typoes
[users/heiko/exim.git] / test / confs / 2201
1 # Exim test configuration 2201
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 trusted_users = CALLER
16 disable_ipv6
17
18 acl_smtp_rcpt = check_rcpt
19 acl_not_smtp = check_sndr
20 queue_only
21
22 # - ACL --
23 begin acl
24
25 check_rcpt:
26         # Do not care about result, looking at debug output
27         # expect an original lookup, a cached lookup avoidance
28         # then a TTL-required repeat lookup
29   warn  dnslists =      rbl.test.ex/V4NET.11.12.14
30         dnslists =      rbl.test.ex/V4NET.11.12.14
31         delay =         4s
32         dnslists =      rbl.test.ex/V4NET.11.12.14
33   accept
34
35 check_sndr:
36         # Do not care about result, looking at debug output
37         # expect an original lookup, a cached lookup avoidance
38         # then a TTL-required repeat lookup
39   warn  sender_domains = dnsdb;a=$sender_address_domain
40         sender_domains = dnsdb;a=$sender_address_domain
41         delay =         4s
42         sender_domains = dnsdb;a=$sender_address_domain
43   accept
44
45
46 # ----- Routers -----
47
48 begin routers
49
50 r0:
51   driver = accept
52   senders = a@shorthost.test.ex
53   transport = remote_delivery
54
55 r1:
56   driver = accept
57   domains = dnsdb;$domain
58   local_parts = dnsdb;$local_part
59   retry_use_local_part
60   transport = local_delivery
61
62 r2:
63   driver = accept
64   domains = dnsdb;$domain
65   retry_use_local_part
66   senders = dnsdb;A=${domain:$sender_address}
67   transport = local_delivery
68
69
70 # ----- Transports -----
71
72 begin transports
73
74 local_delivery:
75   driver = appendfile
76   file = DIR/test-mail/$local_part
77   user = CALLER
78
79 remote_delivery:
80   driver = smtp
81   hosts = 127.0.0.1
82   allow_localhost
83   port = PORT_D
84
85 # ----- Retry -----
86
87
88 begin retry
89
90 * * F,5d,10s
91
92
93 # End