From owner-freebsd-questions@FreeBSD.ORG Wed Nov 9 22:47:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FE8716A41F for ; Wed, 9 Nov 2005 22:47:35 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from bristolsystems.com (h-68-167-239-98.lsanca54.covad.net [68.167.239.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id E084043D45 for ; Wed, 9 Nov 2005 22:47:34 +0000 (GMT) (envelope-from gayn.winters@bristolsystems.com) Received: from workdog ([192.168.1.201]) by bristolsystems.com (8.11.6/8.11.6) with ESMTP id jA9MlYn22051 for ; Wed, 9 Nov 2005 14:47:34 -0800 From: "Gayn Winters" To: Date: Wed, 9 Nov 2005 14:47:24 -0800 Message-ID: <025501c5e57f$90b0f290$c901a8c0@workdog> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Subject: Masquerading Virtual domains in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gayn.winters@bristolsystems.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 22:47:35 -0000 I'm installing sendmail.8.13.3 on FBSD 5.4 on node.domain1.com. I've configured /etc/mail/local-host-names to accept mail for domain1.com and domain2.com. My user names look like bob.domain1.com and (a different Bob) bob.domain2.com. Inside /etc/mail/virtusertable I map bob@domain1.com bob.domain1.com bob@domain2.com bob.domain2.com Inbound all is well. BUT, What I can't figure out is how to masquerade mail from bob.domain1.com as being from bob@domain1.com AND ALSO HAVE bob.domain2.com masqueraded as being from bob@domain2.com. One test of this working is to be able to register both Bob's in the FreeBSD mailing lists as bob@domain1.com and bob@domain2.com. Ideas? References? Thanks, -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com