Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3401 |
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 = |
c8e2fc1e | 12 | log_selector = +smtp_mailauth |
afda344b PH |
13 | |
14 | # ----- Main settings ----- | |
15 | ||
16 | acl_smtp_rcpt = accept | |
17 | ||
18 | ||
19 | # ----- Authentication ----- | |
20 | ||
21 | begin authenticators | |
22 | ||
23 | login: | |
24 | driver = plaintext | |
25 | public_name = LOGIN | |
26 | client_send = : userx : secret | |
6f123593 | 27 | client_set_id = userx |
afda344b PH |
28 | |
29 | plain: | |
30 | driver = plaintext | |
31 | public_name = PLAIN | |
32 | client_send = ^userx^secret | |
33 | ||
4730f942 PH |
34 | xlogin: |
35 | driver = plaintext | |
36 | public_name = XLOGIN | |
37 | client_send = : $auth1 : $auth1+$auth2 | |
6f123593 | 38 | client_set_id = $auth1 |
4730f942 | 39 | |
afda344b PH |
40 | |
41 | # ----- Routers ----- | |
42 | ||
43 | begin routers | |
44 | ||
45 | try: | |
46 | driver = manualroute | |
47 | route_list = domain.com 127.0.0.1 byname | |
48 | self = send | |
49 | transport = smtp_try | |
50 | ||
51 | force: | |
52 | driver = manualroute | |
53 | route_list = authdomain.com 127.0.0.1 byname | |
54 | self = send | |
55 | transport = smtp_force | |
56 | ||
57 | ||
58 | # ----- Transports ----- | |
59 | ||
60 | begin transports | |
61 | ||
62 | smtp_try: | |
63 | driver = smtp | |
64 | hosts_try_auth = * | |
65 | port = PORT_S | |
66 | authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail} | |
67 | ||
68 | smtp_force: | |
69 | driver = smtp | |
70 | hosts_require_auth = * | |
71 | port = PORT_S | |
72 | ||
73 | ||
74 | # ----- Retry ----- | |
75 | ||
76 | ||
77 | begin retry | |
78 | ||
79 | * auth_failed | |
80 | * * F,1h,10m | |
81 | ||
82 | # End |