1 Date: Wed, 14 Jan 1998 15:07:22 +0200
2 From: Vladimir Litovka <doka@grunt.vl.net.ua>
4 [Syntax converted for Exim 4 by PH, 06-Dec-2001. Unchecked.]
6 Although exim not intended for use in UUCP environment (it doesn't know
7 anything about bang!path addresses), I'm successfully using it for delivering
8 mail to UUCP clients. For this purposes I'm using two rewrite rules:
10 #--------------------- REWRITE CONFIGURATION ------------------------#
12 # system!system.domain.net!user
13 \N^([^!]+)!((\w+)(\.\w+)+)!(.*)@your\.domain\N \
14 "${if eq {$1}{$3}{$5@$2}{$2!$5@$1}}" Tbcrtq
17 \N^([^!]+)!(.*)@your\.domain\N $2@$1 Tbcrtq
19 #--------------------------------------------------------------------#
22 if destination address in form:
23 uuname!system.some.domain!user
26 it rewrites address to user@system.some.domain
27 else it rewrites it to system.some.domain!user@uuname
31 if destination address in form:
32 uuname1!uuname2!FQDN!...!uunameN!user
34 uuname2!FQDN!...!uunameN!user@uuname1
37 For successfully delivering mail to uucp domain you must create such
40 #-------------------------------------------------------------------#
43 command = /usr/bin/uux - -r $host!rmail ($local_part@$domain)
44 path = /usr/local/bin:/usr/bin:/bin
47 #-------------------------------------------------------------------#
51 #-------------------------------------------------------------------#
54 route_data = partial-lsearch;/etc/exim/maps/force.uucp
55 #-------------------------------------------------------------------#
57 and use something similar to this force.uucp:
59 # Domain Relay Options
60 # ------ ----- -------
62 system1.domain system1 uux
65 system2.domain system2 uux
67 (!) Note, that you need unqualified names (system1, system2) because
68 second rewrite rule don't do qualification (it known nothing about this).