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 | |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
10 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | acl_smtp_rcpt = accept | |
14 | ||
15 | ||
16 | # ----- Authentication ----- | |
17 | ||
18 | begin authenticators | |
19 | ||
20 | cram_md5: | |
21 | driver = cram_md5 | |
22 | public_name = CRAM-MD5 | |
23 | client_name = tim | |
24 | client_secret = tanstaaftanstaaf | |
25 | ||
26 | ||
27 | # ----- Routers ----- | |
28 | ||
29 | begin routers | |
30 | ||
31 | try: | |
32 | driver = manualroute | |
33 | route_list = domain.com 127.0.0.1 byname | |
34 | self = send | |
35 | transport = smtp_try | |
36 | ||
37 | force: | |
38 | driver = manualroute | |
39 | route_list = authdomain.com 127.0.0.1 byname | |
40 | self = send | |
41 | transport = smtp_force | |
42 | ||
43 | ||
44 | # ----- Transports ----- | |
45 | ||
46 | begin transports | |
47 | ||
48 | smtp_try: | |
49 | driver = smtp | |
50 | hosts_try_auth = * | |
51 | port = PORT_S | |
52 | authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail} | |
53 | ||
54 | smtp_force: | |
55 | driver = smtp | |
56 | hosts_require_auth = * | |
57 | port = PORT_S | |
58 | ||
59 | ||
60 | # ----- Retry ----- | |
61 | ||
62 | ||
63 | begin retry | |
64 | ||
65 | * auth_failed | |
66 | * * F,1h,10m | |
67 | ||
68 | # End |