recipient verify callout
[users/jgh/exim.git] / test / confs / 9350
1 # Exim test configuration 3650
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = check_recipient
16
17 tls_advertise_hosts = *
18 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
19 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
20
21 tls_verify_hosts = HOSTIPV4
22 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
23
24
25 # ----- ACL -----
26
27 begin acl
28
29 check_recipient:
30   deny     message = authentication required
31           !authenticated = *
32   accept
33
34
35 # ----- Authentication -----
36
37 begin authenticators
38
39 dovecot:
40   driver = dovecot
41   public_name = PLAIN
42   server_socket = /var/run/dovecot/auth-client
43   server_set_id = $auth1
44
45 # End