Another go at the overlong-addrs versus rewrites problem
[exim.git] / test / confs / 0624
1 # Exim test configuration 0624
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9 qualify_domain = test.ex
10 log_selector =  +received_recipients +outgoing_port +millisec
11
12 smtp_accept_max_per_host = ${acl {delay}}10
13 remote_max_parallel = 3
14
15 acl_smtp_rcpt = discard
16
17 # ----- ACL -----
18 begin acl
19
20 delay:
21   accept
22          logwrite =     $sender_host_name
23          delay = 2s
24
25 # ----- Routers -----
26 begin routers
27 r:
28         driver =        accept
29         transport =     smtp
30
31 # ----- Trnasport -----
32 begin transports
33 smtp:
34         driver =        smtp
35         hosts =         ${if eq {b}{$local_part} {HOSTIPV4}{127.0.0.1}}
36         port =          ${if eq {c}{$local_part} {PORT_D2}{PORT_D}}
37         allow_localhost
38         hosts_try_fastopen =
39         max_rcpt =      1
40
41 # ----- Retry -----
42 begin retry
43 * * F,5d,1d
44
45 # End
46