Additional tests - didn't show any problems.
[exim.git] / test / confs / 3410
CommitLineData
afda344b
PH
1# Exim test configuration 3410
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.test.ex
6rfc1413_query_timeout = 0s
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
11
12# ----- Main settings -----
13
14# Use first three components of address to select ACL
15acl_smtp_rcpt = acl_${sg{${tr{$sender_host_address}{.}{_}}}{^(.*)_.*\$}{\$1}}
16
17# ----- ACLs -----
18
19begin acl
20
21# These ones test defers
22
23acl_5_6_9:
24 accept endpass
25 message = You must authenticate
26 authenticated = *
27
28acl_5_6_10:
29 accept authenticated = auth1
30
31
32# ------ Authenticators ----
33
34begin authenticators
35
36auth1:
37 driver = plaintext
38 public_name = PLAIN
39 server_condition = ${if eq {$3}{secret}{yes}{no}}
40
41auth2:
42 driver = plaintext
43 public_name = LOGIN
44 server_prompts = "User Name : Password "
45 server_condition = ${if eq {$2}{secret}{yes}{no}}
46
47
48# End