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