From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 11:12:56 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 EB9BD16A420 for ; Thu, 10 Nov 2005 11:12:56 +0000 (GMT) (envelope-from ahnjoan@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E9AD43D5C for ; Thu, 10 Nov 2005 11:12:51 +0000 (GMT) (envelope-from ahnjoan@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so473346wxc for ; Thu, 10 Nov 2005 03:12:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l2tPsWYGVrZcQ4FWwDuHtnUxDanVQmD7yKJddG9/C55pGoEBG4QvRAr60o2MPS216uS80v0RtJL7ir7viXm8SV69xpnyBHNcO0TW4Q/MzbG1o5xesiFCpiecHmGAXSbjaNfuJL136n6bMNLyFhXkfzea7QpG53iRpZFtPSCpJ48= Received: by 10.70.100.17 with SMTP id x17mr252899wxb; Wed, 09 Nov 2005 18:26:53 -0800 (PST) Received: by 10.70.102.7 with HTTP; Wed, 9 Nov 2005 18:26:53 -0800 (PST) Message-ID: <5e575c8a0511091826s3c24a3adkf8f6acca1c66fd68@mail.gmail.com> Date: Wed, 9 Nov 2005 21:26:53 -0500 From: Ahnjoan Amous To: gayn.winters@bristolsystems.com In-Reply-To: <025501c5e57f$90b0f290$c901a8c0@workdog> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <025501c5e57f$90b0f290$c901a8c0@workdog> Cc: freebsd-questions@freebsd.org Subject: Re: Masquerading Virtual domains in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 11:12:57 -0000 On 11/9/05, Gayn Winters wrote: > 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 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > Try a google search on "genericstable". I'm not sure if this is exactly what you are looking for as you are trying to send mail via the same username but it is what I use to specify sender domain for different users. Understanding this may not be how you want to solve the issue, you could send as bobA@ and bobB@ and genericstable could translate that to whatever you would like. Ahnjoan