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