Docs: add info on router variable evaluation order
[users/heiko/exim.git] / test / confs / 0612
1 # Exim test configuration 0612
2
3 SERVER =
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 .ifdef OPT
12 dsn_advertise_hosts = *
13 .endif
14 delay_warning = 6s : 24h
15
16 accept_8bitmime = false
17 pipelining_advertise_hosts = :
18
19 trusted_users = CALLER
20 acl_smtp_rcpt = rcpt
21
22 log_selector = +received_recipients
23 queue_only
24 queue_run_in_order
25
26
27 event_action = ${acl {ev_log}}
28
29 #
30
31 begin acl
32
33 ev_log:
34   accept logwrite = event $event_name
35
36 rcpt:
37   accept hosts =        HOSTIPV4
38
39   deny  local_parts =   rmt_reject
40   defer local_parts =   rmt_defer
41   accept
42
43 # ----- Routers -----
44
45 begin routers
46
47 r_dump:
48   driver =      redirect
49   domains =     dump.ex
50   data =        :blackhole:
51
52 r1:
53   driver =      accept
54   condition =   ${if eq {127.0.0.1}{$sender_host_address}}
55   transport =   tofile
56
57 r2:
58   driver =      manualroute
59   local_parts = ^rmt_.*
60   route_list =  * 127.0.0.1::PORT_D
61   self =        send
62   transport =   smtp
63
64 r3:
65   driver =      manualroute
66   local_parts = deferred
67   route_list =  * 127.0.0.1::PORT_S
68   self =        send
69   transport =   bad_tpt
70
71 # ----- Transports -----
72
73 begin transports
74
75 smtp:
76   driver =      smtp
77   event_action = ${acl {ev_log}}
78   hosts_try_fastopen = :
79
80 bad_tpt:
81   driver =      smtp
82   connect_timeout = 1s
83   event_action = ${acl {ev_log}}
84
85 tofile:
86   driver = appendfile
87   file = DIR/test-mail/${bless:$local_part}
88   user = CALLER
89   event_action = ${acl {ev_log}}
90
91 begin retry
92
93 *       *       F,2m,10s
94 # End