Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3401 |
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 | acl_smtp_rcpt = accept | |
15 | ||
16 | ||
17 | # ----- Authentication ----- | |
18 | ||
19 | begin authenticators | |
20 | ||
21 | login: | |
22 | driver = plaintext | |
23 | public_name = LOGIN | |
24 | client_send = : userx : secret | |
25 | ||
26 | plain: | |
27 | driver = plaintext | |
28 | public_name = PLAIN | |
29 | client_send = ^userx^secret | |
30 | ||
31 | ||
32 | # ----- Routers ----- | |
33 | ||
34 | begin routers | |
35 | ||
36 | try: | |
37 | driver = manualroute | |
38 | route_list = domain.com 127.0.0.1 byname | |
39 | self = send | |
40 | transport = smtp_try | |
41 | ||
42 | force: | |
43 | driver = manualroute | |
44 | route_list = authdomain.com 127.0.0.1 byname | |
45 | self = send | |
46 | transport = smtp_force | |
47 | ||
48 | ||
49 | # ----- Transports ----- | |
50 | ||
51 | begin transports | |
52 | ||
53 | smtp_try: | |
54 | driver = smtp | |
55 | hosts_try_auth = * | |
56 | port = PORT_S | |
57 | authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail} | |
58 | ||
59 | smtp_force: | |
60 | driver = smtp | |
61 | hosts_require_auth = * | |
62 | port = PORT_S | |
63 | ||
64 | ||
65 | # ----- Retry ----- | |
66 | ||
67 | ||
68 | begin retry | |
69 | ||
70 | * auth_failed | |
71 | * * F,1h,10m | |
72 | ||
73 | # End |