Fix CVE-2016-1531
[exim.git] / test / confs / 0537
1 # Exim test configuration 0537
2
3 TRUSTED=
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 rfc1413_query_timeout = 0s
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14 log_selector = +smtp_mailauth
15
16 # ----- Main settings -----
17
18 acl_smtp_connect = connect
19 acl_smtp_mail    = mail
20 acl_not_smtp_start = mail
21
22 queue_only
23 trusted_users = TRUSTED
24
25 # ----- ACLs -----
26
27 begin ACL
28
29 connect:
30   accept acl = log
31
32 mail:
33   accept acl = log
34          acl = auth
35
36 log:
37   accept logwrite = ===========================================================
38          logwrite = sender_ip_address=[$sender_host_address]
39          logwrite = sender_host_authenticated=$sender_host_authenticated
40          logwrite = authenticated_id=$authenticated_id
41          logwrite = authenticated_sender=$authenticated_sender
42          logwrite = interface_address=[$interface_address]
43          logwrite = received_protocol=$received_protocol
44          logwrite = sender_host_name=$sender_host_name
45          logwrite = sender_ident=$sender_ident
46
47 auth:
48   accept authenticated = *
49          logwrite = +++ host is authenticated +++
50
51   accept
52