Feature macros, show-supported and build-time selection for malware interfaces
[exim.git] / test / confs / 0537
1 # Exim test configuration 0537
2
3 TRUSTED=
4
5 .include DIR/aux-var/std_conf_prefix
6
7 log_selector = +smtp_mailauth
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 acl_smtp_connect = connect
13 acl_smtp_mail    = mail
14 acl_not_smtp_start = mail
15
16 queue_only
17 trusted_users = TRUSTED
18
19 # ----- ACLs -----
20
21 begin ACL
22
23 connect:
24   accept acl = log
25
26 mail:
27   accept acl = log
28          acl = auth
29
30 log:
31   accept logwrite = ===========================================================
32          logwrite = sender_ip_address=[$sender_host_address]
33          logwrite = sender_host_authenticated=$sender_host_authenticated
34          logwrite = authenticated_id=$authenticated_id
35          logwrite = authenticated_sender=$authenticated_sender
36          logwrite = interface_address=[$interface_address]
37          logwrite = received_protocol=$received_protocol
38          logwrite = sender_host_name=$sender_host_name
39          logwrite = sender_ident=$sender_ident
40
41 auth:
42   accept authenticated = *
43          logwrite = +++ host is authenticated +++
44
45   accept
46