Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3410 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
6 | rfc1413_query_timeout = 0s | |
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 | # Use first three components of address to select ACL | |
15 | acl_smtp_rcpt = acl_${sg{${tr{$sender_host_address}{.}{_}}}{^(.*)_.*\$}{\$1}} | |
16 | ||
17 | # ----- ACLs ----- | |
18 | ||
19 | begin acl | |
20 | ||
21 | # These ones test defers | |
22 | ||
23 | acl_5_6_9: | |
24 | accept endpass | |
25 | message = You must authenticate | |
26 | authenticated = * | |
27 | ||
28 | acl_5_6_10: | |
29 | accept authenticated = auth1 | |
30 | ||
31 | ||
32 | # ------ Authenticators ---- | |
33 | ||
34 | begin authenticators | |
35 | ||
36 | auth1: | |
37 | driver = plaintext | |
38 | public_name = PLAIN | |
39 | server_condition = ${if eq {$3}{secret}{yes}{no}} | |
40 | ||
41 | auth2: | |
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 |