235564f482b891cdd585e482e29f410a9fa81ff0
[exim-website.git] / config.samples / C040
1 From: mark david mcCreary <mdm@internet-tools.com>
2 Date: Tue, 5 Dec 2000 09:25:20 -0600
3
4 Exim 3.20 has a feature that allows a large mailing of a single message to
5 be sent to many different relays.  This is useful for mailing lists, as it
6 allows the message to be relayed to multiple machines, in groups of 100
7 addresses, for final delivery.
8
9 The router lists a host, but it does not really use that host.  Instead the
10 list of host machines in the transport are used in a random order, thus
11 getting a reasonable coverage and compensating for delivery machines and
12 networks that are down.
13
14 ######################################################################
15 #                      TRANPORTS CONFIGURATION                       #
16 ######################################################################
17
18 one_hundred_smtp:
19   driver = smtp
20   gethostbyname
21   hosts = a.domain.com:\
22           b.domain.com:\
23           c.domain.com:\
24           d.domain.com
25   hosts_override
26   hosts_randomize
27   max_rcpt = 100
28
29 ######################################################################
30 #                      ROUTERS CONFIGURATION                         #
31 ######################################################################
32
33 disperse_mail:
34     driver = domainlist
35     transport = one_hundred_smtp
36     self = fail_soft
37     host_find_failed = fail_soft
38     route_list = "* a.domain.com bydns_a"
39
40 mark david mcCreary
41 Internet Tools, Inc.            1302 Waugh Drive, #438
42 mdm@internet-tools.com          Houston, Texas 77019
43 http://www.internet-tools.com   713.627.9600