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