Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3600 |
2 | ||
3 | SERVER= | |
4 | ||
5 | exim_path = EXIM_PATH | |
6 | host_lookup_order = bydns | |
7 | primary_hostname = myhost.test.ex | |
afda344b PH |
8 | spool_directory = DIR/spool |
9 | log_file_path = DIR/spool/log/SERVER%slog | |
10 | gecos_pattern = "" | |
11 | gecos_name = CALLER_NAME | |
12 | ||
13 | # ----- Main settings ----- | |
14 | ||
15 | acl_smtp_rcpt = check_recipient | |
16 | queue_only | |
17 | trusted_users = CALLER | |
18 | ||
19 | ||
20 | # ----- ACL ----- | |
21 | ||
22 | begin acl | |
23 | ||
24 | check_recipient: | |
25 | deny message = authentication required | |
26 | !authenticated = * | |
27 | accept | |
28 | ||
29 | ||
30 | # ----- Authentication ----- | |
31 | ||
32 | begin authenticators | |
33 | ||
34 | # Forced expansion failure | |
35 | spabad: | |
36 | driver = spa | |
37 | public_name = NTLMX | |
38 | client_password = ${if eq{1}{0}{xxx}fail} | |
39 | client_username = username | |
40 | server_password = ok@test.ex | |
f68fe5f6 | 41 | server_set_id = $auth1 |
afda344b PH |
42 | |
43 | spa: | |
44 | driver = spa | |
45 | public_name = NTLM | |
46 | client_password = $sender_address | |
47 | client_username = username | |
f78eb7c6 | 48 | server_debug_print = +++SPA \$auth1="$auth1" |
afda344b | 49 | server_password = ok@test.ex |
f68fe5f6 | 50 | server_set_id = $auth1 |
afda344b PH |
51 | |
52 | ||
53 | # ----- Routers ----- | |
54 | ||
55 | begin routers | |
56 | ||
57 | r1: | |
58 | driver = accept | |
59 | transport = t1 | |
60 | ||
61 | ||
62 | # ----- Transports ----- | |
63 | ||
64 | begin transports | |
65 | ||
66 | t1: | |
67 | driver = smtp | |
68 | hosts = 127.0.0.1 | |
69 | port = PORT_D | |
70 | allow_localhost | |
71 | hosts_require_auth = * | |
72 | ||
73 | ||
74 | # ----- Retry ----- | |
75 | ||
76 | begin retry | |
77 | ||
78 | * * F,1d,1d | |
79 | ||
80 | # End |