Merge branch 'exim-4.96+security'
[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        local_parts =   rmt_fakereject
42                 control =       fakereject
43   accept
44
45 # ----- Routers -----
46
47 begin routers
48
49 r_dump:
50   driver =      redirect
51   domains =     dump.ex
52   data =        :blackhole:
53
54 r1:
55   driver =      accept
56   condition =   ${if eq {127.0.0.1}{$sender_host_address}}
57   transport =   tofile
58
59 r2:
60   driver =      manualroute
61   local_parts = ^rmt_.*
62   route_list =  * 127.0.0.1::PORT_D
63   self =        send
64   transport =   smtp
65
66 r3:
67   driver =      manualroute
68   local_parts = deferred
69   route_list =  * 127.0.0.1::PORT_S
70   self =        send
71   transport =   bad_tpt
72
73 # ----- Transports -----
74
75 begin transports
76
77 smtp:
78   driver =      smtp
79   event_action = ${acl {ev_log}}
80   hosts_try_fastopen = :
81
82 bad_tpt:
83   driver =      smtp
84   connect_timeout = 1s
85   event_action = ${acl {ev_log}}
86
87 tofile:
88   driver = appendfile
89   file = DIR/test-mail/$local_part
90   create_file = DIR/test-mail
91   user = CALLER
92   event_action = ${acl {ev_log}}
93
94 begin retry
95
96 *       *       F,2m,10s
97 # End