Commit | Line | Data |
---|---|---|
185b5456 MW |
1 | ### -*-m4-*- |
2 | ### | |
3 | ### Lists of addresses and suchlike for distorted.org.uk Exim configuration | |
4 | ### | |
5 | ### (c) 2012 Mark Wooding | |
6 | ### | |
7 | ||
8 | ###----- Licensing notice --------------------------------------------------- | |
9 | ### | |
10 | ### This program is free software; you can redistribute it and/or modify | |
11 | ### it under the terms of the GNU General Public License as published by | |
12 | ### the Free Software Foundation; either version 2 of the License, or | |
13 | ### (at your option) any later version. | |
14 | ### | |
15 | ### This program is distributed in the hope that it will be useful, | |
16 | ### but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 | ### GNU General Public License for more details. | |
19 | ### | |
20 | ### You should have received a copy of the GNU General Public License | |
21 | ### along with this program; if not, write to the Free Software Foundation, | |
22 | ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
23 | ||
24 | SECTION(global, lists)m4_dnl | |
25 | ## Definitions for known networks. | |
26 | hostlist localnet = <; \ | |
27 | 127.0.0.0/8 ; ::1 | |
4ff4ad42 MW |
28 | hostlist thishost = <; \ |
29 | +localnet ; @[] | |
a9fb4ad2 | 30 | hostlist foreign = <; |
185b5456 | 31 | hostlist border = <; \ |
adf15c37 | 32 | ! +foreign ; \ |
a9fb4ad2 MW |
33 | 81.2.113.195 ; 81.187.238.128/28 ; 217.169.12.64/28 ; \ |
34 | 2001:8b0:c92:fff::/64 | |
185b5456 MW |
35 | hostlist trusted = <; \ |
36 | +localnet ; +border ; \ | |
a9fb4ad2 | 37 | 172.29.199.0/24 ; 2001:8b0:c92::/49 |
185b5456 MW |
38 | hostlist allnets = <; \ |
39 | +localnet ; +border ; \ | |
a9fb4ad2 | 40 | 172.29.198.0/23 ; 2001:8b0:c92::/48 |
185b5456 | 41 | |
b96f02cf MW |
42 | ## Addresses which are likely to be bogus. These are zero, loopback, |
43 | ## multicast, broadcast (IPv4), and blocks reserved for documentation. | |
44 | hostlist bogus = <; \ | |
45 | :: ; ::1 ; ff00::/8 ; 2001:db8::/32 ; \ | |
46 | 0.0.0.0 ; 127.0.0.0/8 ; 224.0.0.0/4 ; 255.255.255.255 ; \ | |
47 | 192.0.2.0/24 ; 198.51.100.0/24 ; 203.0.113.0/24 | |
48 | ||
49 | ## Addresses which are likely to be bogus as public mailservers. These are | |
50 | ## the generally bogus addresses, plus link-local and private use addresses. | |
51 | hostlist bogus_public = <; \ | |
52 | +bogus ; \ | |
53 | fe80::/10 ; fc00::/7 ; \ | |
54 | 169.254.0.0/16 ; 10.0.0.0/8 ; 172.16.0.0/12 ; 192.168.0.0/16 | |
55 | ||
185b5456 MW |
56 | ## Domains we're authoritative for. |
57 | domainlist thishost = @ : @[] : \ | |
58 | ${map {${extract {${extract {1}{.}{$primary_hostname}}} \ | |
59 | { telecaster=tele \ | |
60 | stratocaster=strat }}} \ | |
61 | {$item.$qualify_domain}} | |
e913c999 | 62 | domainlist public = +thishost : CONF_sysdomains |
185b5456 | 63 | |
6d7af7e4 MW |
64 | ## All of the `standard' local parts which ought to be provided by a domain. |
65 | localpartlist required = postmaster : abuse | |
66 | ||
185b5456 MW |
67 | DIVERT(null) |
68 | ###----- That's all, folks -------------------------------------------------- |