Exim 4.72 release
[exim-website.git] / config.samples / C003
1 Date: Thu, 23 Jul 1998 01:02:29 -0500 (CDT)
2 From: "Steven A. Reisman" <sar@pressenter.com>
3  
4 I've read down through Q0601 and your request for UUCP examples.
5 Here's how I'm doing it:
6
7   # route via UUCP
8
9   uucp_routing_rmail:
10     transport = uucp_rmail
11     driver = domainlist
12     route_file = /etc/exim/uucp_rmail
13     search_type = dbm
14
15   uucp_routing_rsmtp:
16     transport = uucp_rsmtp
17     driver = domainlist
18     route_file = /etc/exim/uucp_rsmtp
19     search_type = dbm
20
21
22   # This transport delivers via UUCP-rmail
23
24   uucp_rmail:
25     driver = pipe
26     user = nobody
27     command = "/usr/bin/uux --stdin --nouucico --requestor \
28           '${if eq {$sender_address}{}{mailer-daemon}{$sender_address}}' \
29           $host!rmail $pipe_addresses"
30     return_fail_output=true
31     no_retry_use_local_part
32
33
34   # This transport delivers via UUCP-rsmtp
35
36   uucp_rsmtp:
37     driver = pipe
38     batch = domain
39     bsmtp = domain
40     user = nobody
41     command = "/usr/bin/uux --stdin --nouucico --requestor \
42           '${if eq {$sender_address}{}{mailer-daemon}{$sender_address}}' \
43           $host!rsmtp"
44     prefix = ""
45     suffix = ""
46     return_fail_output=true
47     no_retry_use_local_part
48
49
50 Files /etc/exim/uucp_rmail and /etc/exim/uucp_rsmtp are of the form:
51
52   domain1.com:    alpha
53   domain2.com:    beta
54   domain3.com:    gamma
55
56 where alpha, beta, and gamma are UUCP neighbors.
57
58
59 For example, our mail server, hermes, uses UUCP to transport email to my
60 laptop, ulysses.  Ulysses can poll hermes on TCP port 540 from anywhere
61 on the net.  This is independent of ulysses's IP address, and there's
62 no messing with SMTP/ETRN.