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