Date: Mon, 4 Jun 2001 19:21:44 -0400 (EDT) From: Jim Freeze <jim@freeze.org> To: <questions@freebsd.org> Subject: Sendmail and Virtual Hosting Message-ID: <Pine.BSF.4.32.0106041908060.85833-100000@www.stelesys.com>
next in thread | raw e-mail | index | archive | help
Hi: Thanks to all who have helped get my mail system running. With your help, I have finally got mail running. Now, I have a question about how to setup sendmail so it sends mail to name@domain. Here's the problem. I have two domains both with the same ip: www.domain1.com 12.34.56.78 www.domain2.com 12.34.56.78 Apache serves up pages for each domain just fine. I also have established accounts on my machine: usr1 # owns domain1 usr2 # owns domain2 With this groups help I have configured sendmail to accept mail to: usr1@domain1.com or usr2@domain2.com. The problem comes when someone sends mail to usr2@domain1.com or usr1@domain2.com. Either way, both users receive the others email. Is there a way to not let this happen? In other words, it seems that valid mail boxes are based only upon if a user exists. I need a way to identify valid email addresses with dns names. Plus, eventually I need to be able to have some kind of table (virtusertable?) direct emails to webmaster@domain1.com and webmaster@domain2.com to their respective mailboxes. Does this require masquerading? Can someone please explain how I can accomplish these two tasks? Thanks ========================================================= Jim Freeze jim@freeze.org --------------------------------------------------------- No comment at this time. http://www.freeze.org ========================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0106041908060.85833-100000>