Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3501 |
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 | cram_md5: | |
22 | driver = cram_md5 | |
23 | public_name = CRAM-MD5 | |
24 | client_name = tim | |
25 | client_secret = tanstaaftanstaaf | |
26 | ||
27 | ||
28 | # ----- Routers ----- | |
29 | ||
30 | begin routers | |
31 | ||
32 | try: | |
33 | driver = manualroute | |
34 | route_list = domain.com 127.0.0.1 byname | |
35 | self = send | |
36 | transport = smtp_try | |
37 | ||
38 | force: | |
39 | driver = manualroute | |
40 | route_list = authdomain.com 127.0.0.1 byname | |
41 | self = send | |
42 | transport = smtp_force | |
43 | ||
44 | ||
45 | # ----- Transports ----- | |
46 | ||
47 | begin transports | |
48 | ||
49 | smtp_try: | |
50 | driver = smtp | |
51 | hosts_try_auth = * | |
52 | port = PORT_S | |
53 | authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail} | |
54 | ||
55 | smtp_force: | |
56 | driver = smtp | |
57 | hosts_require_auth = * | |
58 | port = PORT_S | |
59 | ||
60 | ||
61 | # ----- Retry ----- | |
62 | ||
63 | ||
64 | begin retry | |
65 | ||
66 | * auth_failed | |
67 | * * F,1h,10m | |
68 | ||
69 | # End |