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