Debug: "kill" option on ACL control=debug. Bug 1831
[users/jgh/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 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 log_selector = +smtp_mailauth
14 tls_advertise_hosts =
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