Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 2026 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.ex | |
afda344b | 7 | spool_directory = DIR/spool |
9f1ec642 | 8 | .ifdef SERVER |
afda344b | 9 | log_file_path = DIR/spool/log/%slog |
9f1ec642 JH |
10 | .else |
11 | log_file_path = DIR/spool/log/%D-%slog | |
12 | .endif | |
afda344b PH |
13 | gecos_pattern = "" |
14 | gecos_name = CALLER_NAME | |
15 | ||
590fd9ee JH |
16 | .ifdef _HAVE_DMARC |
17 | dmarc_tld_file = | |
18 | .endif | |
19 | ||
afda344b PH |
20 | # ----- Main settings ----- |
21 | ||
22 | acl_smtp_rcpt = check_rcpt | |
23 | log_selector = +tls_peerdn | |
24 | ||
9f1ec642 | 25 | |
afda344b PH |
26 | tls_advertise_hosts = HOSTIPV4 |
27 | tls_certificate = DIR/aux-fixed/cert1 | |
28 | tls_privatekey = DIR/aux-fixed/cert1 | |
29 | ||
30 | ||
31 | # ----- ACLs ----- | |
32 | ||
33 | begin acl | |
34 | ||
35 | check_rcpt: | |
36 | accept local_parts = userx | |
9f1ec642 | 37 | control = queue_only |
afda344b PH |
38 | |
39 | defer local_parts = usery | |
40 | hosts = 127.0.0.1 | |
41 | ||
9f1ec642 | 42 | accept control = queue_only |
afda344b PH |
43 | |
44 | # ----- Routers ----- | |
45 | ||
46 | begin routers | |
47 | ||
48 | r0: | |
49 | driver = accept | |
50 | condition = ${if !eq {$sender_host_address}{}} | |
51 | transport = t2 | |
52 | ||
53 | r1: | |
54 | driver = accept | |
55 | transport = t1 | |
56 | ||
57 | ||
58 | # ----- Transports ----- | |
59 | ||
60 | begin transports | |
61 | ||
62 | t1: | |
63 | driver = smtp | |
64 | hosts = 127.0.0.1 : HOSTIPV4 | |
65 | port = PORT_D | |
277b9979 | 66 | hosts_try_fastopen = : |
afda344b PH |
67 | allow_localhost |
68 | ||
69 | t2: | |
70 | driver = appendfile | |
71 | file = /dev/null | |
72 | user = CALLER | |
73 | ||
74 | # End |