20378e99d09ffdfefe660983e8564c88e231f61c
[exim-website.git] / config.samples / C004
1 From: Nigel Metheringham <Nigel.Metheringham@ThePLAnet.net>
2 Date: Tue, 21 Jul 1998 13:41:42 +0100
3
4 Here's a BSMTP over UUCP - the transport is Taylor/GNU UUCP - which takes 
5 the long option types.  The requestor bit needs a fudge for bounce mail to 
6 be handled correctly - a null requestor causes the uux client to write an 
7 invalid request file.  The UUCP sys file is set to map their domain to the 
8 appropriate machine to call.
9
10 #=====================================================================
11 #
12 # uucp transport
13 # ~~~~~~~~~~~~~~
14 #
15
16 uucp:
17   driver = pipe
18   batch = domain
19   bsmtp = domain
20   command = "/usr/bin/uux --stdin --nouucico --requestor \
21         '${if eq{$sender_address}{}{mailer-daemon}{$sender_address}}' \
22         $domain!rsmtp"
23   log_output
24   prefix = ""
25   suffix = ""
26   no_retry_use_local_part
27   return_fail_output
28   user = exim
29
30 ####
31 #### and the related director (note that all these domains are handled as
32 #### local by exim).
33 ####
34 uucp_router:
35   domains = UUCP_DOMAINS
36   driver = smartuser
37   transport = uucp
38   no_panic_expansion_fail
39   new_address = "${quote:$local_part}@$domain"
40
41
42 ####
43 #### and at the top of the config are:-
44 ####
45 EXICONF_DIR     = /var/exim
46 UUCP_DOMDB      = EXICONF_DIR/main/uucp_domains.cdb
47 UUCP_DOMAINS    = cdb;UUCP_DOMDB
48
49 local_domains = ....:UUCP_DOMAINS:...
50
51 #########################################
52
53 uucp_domains.dat -> uucp_domains.cdb
54 Contains list of destination dbs in a standard exim form (ie one per line 
55 to be fed to exim_dbmbuild)