d273af997edc6cbe555e978560d9beecf80bb561
[users/jgh/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 log_selector = +smtp_mailauth
14
15 # ----- Main settings -----
16
17 acl_smtp_connect = connect
18 acl_smtp_mail    = mail
19 acl_not_smtp_start = mail
20
21 queue_only
22 trusted_users = TRUSTED
23
24 # ----- ACLs -----
25
26 begin ACL
27
28 connect:
29   accept acl = log
30
31 mail:
32   accept acl = log
33          acl = auth
34
35 log:
36   accept logwrite = ===========================================================
37          logwrite = sender_ip_address=[$sender_host_address]
38          logwrite = sender_host_authenticated=$sender_host_authenticated
39          logwrite = authenticated_id=$authenticated_id
40          logwrite = authenticated_sender=$authenticated_sender
41          logwrite = interface_address=[$interface_address]
42          logwrite = received_protocol=$received_protocol
43          logwrite = sender_host_name=$sender_host_name
44          logwrite = sender_ident=$sender_ident
45
46 auth:
47   accept authenticated = *
48          logwrite = +++ host is authenticated +++
49
50   accept
51