1 Date: Wed, 14 Jan 1998 15:07:22 +0200
2 From: Vladimir Litovka <doka@grunt.vl.net.ua>
4 Although exim not intended for use in UUCP environment (it doesn't know
5 anything about bang!path addresses), I'm successfully using it for delivering
6 mail to UUCP clients. For this purposes I'm using two rewrite rules:
8 #--------------------- REWRITE CONFIGURATION ------------------------#
10 # system!system.domain.net!user
11 ^([^!]+)!((\w+)(\.\w+)+)!(.*)@your\.domain \
12 "${if eq {$1}{$3}{$5@$2}{$2!$5@$1}}" Tbcrtq
15 ^([^!]+)!(.*)@your\.domain $2@$1 Tbcrtq
17 #--------------------------------------------------------------------#
20 if destination address in form:
21 uuname!system.some.domain!user
24 it rewrites address to user@system.some.domain
25 else it rewrites it to system.some.domain!user@uuname
29 if destination address in form:
30 uuname1!uuname2!FQDN!...!uunameN!user
32 uuname2!FQDN!...!uunameN!user@uuname1
35 For successfully delivering mail to uucp domain you must create such
38 #-------------------------------------------------------------------#
41 command = "/usr/bin/uux - -r $host!rmail ($local_part@$domain)",
42 path = "/usr/local/bin:/usr/bin:/bin",
45 #-------------------------------------------------------------------#
49 #-------------------------------------------------------------------#
52 route_file = /etc/exim/maps/force.uucp,
53 search_type = partial-lsearch,
54 #-------------------------------------------------------------------#
56 and use something similar to this force.uucp:
58 # Domain Relay Options
59 # ------ ----- -------
61 system1.domain system1 uux
64 system2.domain system2 uux
66 (!) Note, that you need unqualified names (system1, system2) because
67 second rewrite rule don't do qualification (it known nothing about this).