From owner-freebsd-questions Tue Dec 20 17:58:09 1994 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA14731 for questions-outgoing; Tue, 20 Dec 1994 17:58:09 -0800 Received: from hp.com (hp.com [15.255.152.4]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id BAA14708 for ; Wed, 21 Dec 1994 01:58:06 GMT Received: from hpautow.aus.hp.com by hp.com with SMTP (1.37.109.14/15.5+ECS 3.3) id AA106555082; Tue, 20 Dec 1994 17:58:02 -0800 Message-Id: <199412210158.AA106555082@hp.com> Received: by hpautow.aus.hp.com (1.38.193.4/16.2) id AA19017; Wed, 21 Dec 1994 12:56:54 +1100 From: "M.C Wong" Subject: UUCP mailer, domain, and rewriting rule To: freebsd-questions@freefall.cdrom.com (freebsd-questions@freefall.cdrom.com) Date: Wed, 21 Dec 1994 12:56:54 EDT X-Mailer: Elm [revision: 109.14.c] Sender: questions-owner@freebsd.org Precedence: bulk Hi, I have got a few questions which have not been answered since a lengthy post I submit sometime ago. I will make it short this time. I got a small LAN with domain : mydomain A dedicated UUCP mail gateway machine to outside world : uucpgw.mydomain My ISP machine that provides the UUCP link : isp.ispdomain uucpgw is visible as uucpgw.ispdomain to the outside world, and to send mail to someone on my machine (over UUCP), one MUST address the message to recipient@uucpgw.ispdomain instead of recipient@uucpgw.mydomain. I wish someone can help me with the following : 1) When ever I send mail to someone on uucpgw, say root@uucpgw.mydomain, uucico does transfer the spooled mail messages from isp.ispdomain to uucpgw.mydomain. However, since all the mails are targeted for users on machine with domain ispdomain, the delivery stops at pended in my /var/spool/mqueue, as expected. If I change my domainname to ispdomain, the mail messages get delivered to the designated recipient's local mail box. Now, can someone tell me how to specify the rewriting rules for recipient such that upon receiving mail addressed to : recipient@uucpgw.ispdomain, it will convert it to recipient@uucpgw.mydomain ? 2) With above, mails are always routed via uucpgw, is there a way that I can do site hiding (as sent by other hosts on the same mydomain subnet) such that remote recipient (outsiders) always received messages from : sender@mydomaoin ? Thanks in advance. Your help is greatly appreciated. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ M.C Wong Email: mcw@hpato.aus.hp.com Australian Telecom Operation Voice: +61 3 272 8058 Hewlett-Packard Australia Ltd Fax: +61 3 898 9257 31 Joseph St, Blackburn 3130, Australia OS: FreeBSD-1.1.5.1 http://hpautow.aus.hp.com:9999/~mcw/mcw.html (or http://hpautorf/~mcw)