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