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 | ||
4730f942 PH |
31 | xlogin: |
32 | driver = plaintext | |
33 | public_name = XLOGIN | |
34 | client_send = : $auth1 : $auth1+$auth2 | |
35 | ||
afda344b PH |
36 | |
37 | # ----- Routers ----- | |
38 | ||
39 | begin routers | |
40 | ||
41 | try: | |
42 | driver = manualroute | |
43 | route_list = domain.com 127.0.0.1 byname | |
44 | self = send | |
45 | transport = smtp_try | |
46 | ||
47 | force: | |
48 | driver = manualroute | |
49 | route_list = authdomain.com 127.0.0.1 byname | |
50 | self = send | |
51 | transport = smtp_force | |
52 | ||
53 | ||
54 | # ----- Transports ----- | |
55 | ||
56 | begin transports | |
57 | ||
58 | smtp_try: | |
59 | driver = smtp | |
60 | hosts_try_auth = * | |
61 | port = PORT_S | |
62 | authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail} | |
63 | ||
64 | smtp_force: | |
65 | driver = smtp | |
66 | hosts_require_auth = * | |
67 | port = PORT_S | |
68 | ||
69 | ||
70 | # ----- Retry ----- | |
71 | ||
72 | ||
73 | begin retry | |
74 | ||
75 | * auth_failed | |
76 | * * F,1h,10m | |
77 | ||
78 | # End |