summaryrefslogtreecommitdiff
path: root/test/confs/4020
blob: dc0db460e9b7a48d5333942b544ef2f5de2f29e4 (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
# Exim test configuration 4020

OPT =

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex
queue_run_in_order

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

log_selector = +proxy +outgoing_port

domainlist local_domains = test.ex : *.test.ex
acl_smtp_rcpt = accept


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

begin acl

logger:
  accept	logwrite = pla $proxy_local_address plp $proxy_local_port pea $proxy_external_address pep $proxy_external_port

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

begin routers

my_main_router:
  driver = manualroute
  route_list = * 127.0.0.1
  self = send
  transport = my_smtp
  debug_print = router_name <$router_name>
  no_more


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

begin transports

my_smtp:
  driver =		smtp
  interface =		HOSTIPV4
  port =		PORT_S
  hide socks_proxy =	HOSTIPV4 port=PORT_D OPT
  hosts_try_fastopen =	${if eq {$local_part}{user_tfo} {*}}
  debug_print =		transport_name <$transport_name>
  event_action =	${if eq {smtp:connect}{$event_name} {${acl {logger}}} {}}


# End