Commit | Line | Data |
---|---|---|
1bf43b78 PH |
1 | # Exim test configuration 0544 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
1bf43b78 PH |
5 | spool_directory = DIR/spool |
6 | log_file_path = DIR/spool/log/%slog | |
7 | gecos_pattern = "" | |
8 | gecos_name = CALLER_NAME | |
9 | ||
10 | # ----- Main settings ----- | |
11 | ||
3cf91d6d | 12 | domainlist dlist = $domain |
1bf43b78 PH |
13 | |
14 | acl_smtp_helo = check_helo | |
15 | acl_smtp_mail = check_mail | |
16 | acl_smtp_rcpt = check_rcpt | |
3cf91d6d | 17 | queue_smtp_domains = $domain |
1bf43b78 PH |
18 | qualify_domain = test.ex |
19 | ||
20 | ||
21 | # ----- ACLs ----- | |
22 | ||
23 | begin acl | |
24 | ||
25 | check_helo: | |
26 | warn | |
27 | condition = ${if match_domain {$sender_helo_name}{+dlist}} | |
28 | accept | |
29 | ||
30 | ||
31 | check_mail: | |
32 | warn hosts = domain=$domain/sender_domain=$sender_address_domain | |
33 | accept | |
34 | ||
35 | check_rcpt: | |
36 | warn domains = domain=$domain/sender_domain=$sender_address_domain | |
37 | warn sender_domains = domain=$domain/sender_domain=$sender_address_domain | |
38 | accept | |
39 | ||
40 | ||
41 | # ----- Routers ----- | |
42 | ||
43 | begin routers | |
44 | ||
45 | smarthost: | |
46 | driver = accept | |
47 | transport = smtp | |
48 | ||
49 | ||
50 | # ----- Transports ----- | |
51 | ||
52 | begin transports | |
53 | ||
54 | smtp: | |
55 | driver = smtp | |
56 | hosts = 127.0.0.1 | |
57 | allow_localhost | |
58 | port = PORT_S | |
59 | ||
60 | ||
61 | # ----- Retry ----- | |
62 | ||
63 | ||
64 | begin retry | |
65 | ||
66 | * * F,5d,15m | |
67 | ||
68 | ||
69 | # End |