summaryrefslogtreecommitdiff
path: root/test/confs/4030
blob: 86bf6b31c59ad4c6c049c93ac761d0b442720b06 (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
# Exim test configuration 4030
# Proxy Protocol

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex
hosts_proxy = HOSTIPV4
# default timeout is 3s, speed up the timeout test here
proxy_protocol_timeout = 1s
queue_only

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

log_selector = +proxy +incoming_port

acl_smtp_rcpt = r_acl


begin acl

r_acl:
  accept
	logwrite = proxy session: $proxy_session
	logwrite = local          [$received_ip_address]:$received_port
	logwrite = proxy internal [$proxy_local_address]:$proxy_local_port
	logwrite = proxy external [$proxy_external_address]:$proxy_external_port
	logwrite = remote         [$sender_host_address]:$sender_host_port


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

begin routers

dump:
  driver = redirect
  data = :blackhole:

# End