Commit | Line | Data |
---|---|---|
95938464 JH |
1 | # Exim test configuration 5707 |
2 | ||
3 | .include DIR/aux-var/std_conf_prefix | |
4 | ||
5 | ||
6 | # ----- Main settings ----- | |
7 | ||
8 | acl_smtp_rcpt = accept | |
9 | acl_smtp_data = accept | |
10 | ||
11 | event_action = ${acl {logger}} | |
12 | ||
13 | ||
14 | # ----- ACL ----- | |
15 | ||
16 | begin acl | |
17 | ||
18 | .include DIR/aux-fixed/event-logger-acl | |
19 | ||
20 | conn_deny: | |
21 | accept !condition = ${if eq {tcp:connect}{$event_name}} | |
22 | deny logwrite = Denying tcp connection | |
23 | message = deny | |
24 | ||
25 | # ----- Routers ----- | |
26 | ||
27 | begin routers | |
28 | ||
29 | dump_bounces: | |
30 | driver = redirect | |
31 | senders = : | |
32 | data = :blackhole: | |
33 | ||
34 | others: | |
35 | driver = manualroute | |
36 | route_list = * 127.0.0.1 byname | |
37 | self = send | |
38 | transport = smtp | |
39 | errors_to = "" | |
40 | no_more | |
41 | ||
42 | ||
43 | # ----- Transports ----- | |
44 | ||
45 | begin transports | |
46 | ||
47 | smtp: | |
48 | driver = smtp | |
49 | port = PORT_S | |
50 | event_action = ${acl {conn_deny}} | |
51 | ||
52 | # ----- Retry ----- | |
53 | begin retry | |
54 | * * F,5d,10s | |
55 | ||
56 | # End |