Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 2103 |
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 = check_recipient | |
14 | ||
15 | queue_only | |
16 | queue_run_in_order | |
17 | ||
18 | tls_certificate = DIR/aux-fixed/cert1 | |
19 | tls_privatekey = DIR/aux-fixed/cert1 | |
20 | ||
21 | tls_advertise_hosts = * | |
22 | ||
23 | ||
24 | # ------ ACL ------ | |
25 | ||
26 | begin acl | |
27 | ||
28 | check_recipient: | |
29 | deny message = unacceptable cipher $tls_cipher | |
30 | !encrypted = ${if eq {$sender_host_address}{HOSTIPV4}{IDEA-CBC-MD5}{*}} | |
31 | accept | |
32 | ||
33 | ||
34 | # ----- Routers ----- | |
35 | ||
36 | begin routers | |
37 | ||
38 | abc: | |
39 | driver = accept | |
40 | retry_use_local_part | |
41 | transport = local_delivery | |
42 | ||
43 | ||
44 | # ----- Transports ----- | |
45 | ||
46 | begin transports | |
47 | ||
48 | local_delivery: | |
49 | driver = appendfile | |
50 | file = DIR/test-mail/$local_part | |
51 | headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn | |
52 | user = CALLER | |
53 | ||
54 | ||
55 | # ----- Retry ----- | |
56 | ||
57 | ||
58 | begin retry | |
59 | ||
60 | * * F,5d,10s | |
61 | ||
62 | ||
63 | # End |