summaryrefslogtreecommitdiff
path: root/test/confs/5707
blob: 35d5eff47adf3d8022ceb84a453ca6954b6a8c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Exim test configuration 5707

.include DIR/aux-var/std_conf_prefix


# ----- Main settings -----

acl_smtp_rcpt = accept
acl_smtp_data = accept

event_action = ${acl {logger}}


# ----- ACL -----

begin acl

.include DIR/aux-fixed/event-logger-acl

conn_deny:
  accept	!condition =	${if eq {tcp:connect}{$event_name}}
  deny		logwrite =	Denying tcp connection
		message =	deny

# ----- Routers -----

begin routers

dump_bounces:
  driver = redirect
  senders = :
  data = :blackhole:

others:
  driver = manualroute
  route_list = * 127.0.0.1 byname
  self = send
  transport = smtp
  errors_to = ""
  no_more


# ----- Transports -----

begin transports

smtp:
  driver =	smtp
  port =	PORT_S
  event_action = ${acl {conn_deny}}

# ----- Retry -----
begin retry
* * F,5d,10s

# End