Merge branch 'master'
[users/heiko/exim.git] / test / confs / 3450
1 # Exim test configuration 3450
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15 hostlist auth_over_tls_hosts = 127.0.0.1
16
17 acl_smtp_auth = check_auth
18
19 tls_advertise_hosts = *
20 tls_certificate = DIR/aux-fixed/cert1
21 tls_privatekey = DIR/aux-fixed/cert1
22
23
24 # ----- ACL -----
25
26 begin acl
27 check_auth:
28   accept  hosts = +auth_over_tls_hosts
29           endpass
30           message = STARTTLS required before AUTH
31           encrypted = *
32   accept
33
34
35 # ----- Authenticators -----
36
37
38 begin authenticators
39
40 plain:
41   driver = plaintext
42   public_name = PLAIN
43   server_condition = "\
44     ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
45   server_set_id = $2
46
47 # End