Commit | Line | Data |
---|---|---|
6c512171 PH |
1 | # Exim test configuration 3455 |
2 | ||
3 | HOSTS_AVOID_TLS= | |
4 | ||
5 | exim_path = EXIM_PATH | |
6 | host_lookup_order = bydns | |
7 | primary_hostname = myhost.test.ex | |
6c512171 PH |
8 | spool_directory = DIR/spool |
9 | log_file_path = DIR/spool/log/%slog | |
10 | gecos_pattern = "" | |
11 | gecos_name = CALLER_NAME | |
12 | ||
13 | # ----- Main settings ----- | |
14 | ||
15 | acl_smtp_rcpt = accept | |
16 | ||
17 | domainlist local_domains = test.ex | |
18 | ||
19 | log_selector = +smtp_no_mail | |
20 | ||
21 | queue_only = true | |
22 | ||
23 | tls_advertise_hosts = * | |
24 | tls_certificate = DIR/aux-fixed/cert1 | |
25 | tls_privatekey = DIR/aux-fixed/cert1 | |
26 | ||
27 | ||
28 | # ----- Authenticators ----- | |
29 | ||
30 | begin authenticators | |
31 | ||
32 | plain: | |
33 | driver = plaintext | |
34 | public_name = PLAIN | |
35 | server_condition = "\ | |
36 | ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}" | |
37 | server_set_id = $2 | |
8359d7da | 38 | client_condition = ${if !eq {$tls_out_cipher}{}} |
6c512171 PH |
39 | client_send = ^userx^secret1 |
40 | ||
41 | login: | |
42 | driver = plaintext | |
43 | public_name = LOGIN | |
44 | server_prompts = User Name : Password | |
45 | server_condition = "\ | |
46 | ${if and {{eq{$auth1}{usery}}{eq{$auth2}{secret2}}}{yes}{no}}" | |
47 | server_set_id = $auth1 | |
48 | client_send = : usery : secret2 | |
49 | ||
50 | ||
51 | # ----- Routers ----- | |
52 | ||
53 | begin routers | |
54 | ||
55 | r1: | |
56 | driver = accept | |
57 | transport = t1 | |
58 | ||
59 | ||
60 | # ----- Transports ----- | |
61 | ||
62 | begin transports | |
63 | ||
64 | t1: | |
65 | driver = smtp | |
66 | hosts = 127.0.0.1 | |
67 | port = PORT_D | |
68 | hosts_avoid_tls = HOSTS_AVOID_TLS | |
69 | hosts_require_auth = * | |
70 | allow_localhost | |
71 | ||
72 | ||
73 | # End |