summaryrefslogtreecommitdiff
path: root/test/confs/4032
blob: 9dbe36b9c150d87611a7aa15080cc79dc4ea6c85 (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
# Exim test configuration 4032
# XCLIENT proxy

.ifdef OPTION
.include DIR/aux-var/tls_conf_prefix
.else
.include DIR/aux-var/std_conf_prefix
.endif

primary_hostname = myhost.test.ex
hosts_xclient = HOSTIPV4
queue_only

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

log_selector = +proxy +incoming_port

acl_smtp_rcpt = r_acl


begin acl

r_acl:
  accept
	logwrite = tls session:   ${if def:tls_in_cipher {yes}{no}}
	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