Hintsdb transactions
[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 .ifdef _HAVE_EVENT
28 event_action = ${acl {ev_log}}
29 .endif
30
31 #
32
33 begin acl
34
35 .ifdef _HAVE_EVENT
36 ev_log:
37   accept logwrite = event $event_name
38 .endif
39
40 rcpt:
41   accept        hosts = HOSTIPV4
42
43   deny          local_parts =   rmt_reject
44   defer         local_parts =   rmt_defer
45   accept        local_parts =   rmt_fakereject
46                 control =       fakereject
47   accept
48
49 # ----- Routers -----
50
51 begin routers
52
53 r_dump:
54   driver =      redirect
55   domains =     dump.ex
56   data =        :blackhole:
57
58 r1:
59   driver =      accept
60   condition =   ${if eq {127.0.0.1}{$sender_host_address}}
61   transport =   tofile
62
63 r2:
64   driver =      manualroute
65   local_parts = ^rmt_.*
66   route_list =  * 127.0.0.1::PORT_D
67   self =        send
68   transport =   smtp
69
70 r3:
71   driver =      manualroute
72   local_parts = deferred
73   route_list =  * 127.0.0.1::PORT_S
74   self =        send
75   transport =   bad_tpt
76
77 # ----- Transports -----
78
79 begin transports
80
81 smtp:
82   driver =      smtp
83 .ifdef _HAVE_EVENT
84   event_action = ${acl {ev_log}}
85 .endif
86   hosts_try_fastopen = :
87
88 bad_tpt:
89   driver =      smtp
90   connect_timeout = 1s
91 .ifdef _HAVE_EVENT
92   event_action = ${acl {ev_log}}
93 .endif
94
95 tofile:
96   driver = appendfile
97   file = DIR/test-mail/$local_part
98   create_file = DIR/test-mail
99   user = CALLER
100 .ifdef _HAVE_EVENT
101   event_action = ${acl {ev_log}}
102 .endif
103
104 begin retry
105
106 *       *       F,2m,10s
107 # End