Date: Wed, 9 Nov 2005 21:26:53 -0500 From: Ahnjoan Amous <ahnjoan@gmail.com> To: gayn.winters@bristolsystems.com Cc: freebsd-questions@freebsd.org Subject: Re: Masquerading Virtual domains in sendmail Message-ID: <5e575c8a0511091826s3c24a3adkf8f6acca1c66fd68@mail.gmail.com> In-Reply-To: <025501c5e57f$90b0f290$c901a8c0@workdog> References: <025501c5e57f$90b0f290$c901a8c0@workdog>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/9/05, Gayn Winters <gayn.winters@bristolsystems.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5e575c8a0511091826s3c24a3adkf8f6acca1c66fd68>