From owner-freebsd-questions Mon Jun 4 16:21:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freeze.org (www.stelesys.com [208.177.187.226]) by hub.freebsd.org (Postfix) with ESMTP id BBCCD37B401 for ; Mon, 4 Jun 2001 16:21:46 -0700 (PDT) (envelope-from jim@freeze.org) Received: (from jim@localhost) by freeze.org (8.11.3/8.11.2) id f54NLiI86079; Mon, 4 Jun 2001 19:21:44 -0400 (EDT) (envelope-from jim) X-Authentication-Warning: www.stelesys.com: Processed from queue /var/spool/alt_queue X-Authentication-Warning: www.stelesys.com: Processed by jim with -C /web/siteinfo/freeze/mail/sendmail.cf Date: Mon, 4 Jun 2001 19:21:44 -0400 (EDT) From: Jim Freeze X-X-Sender: To: Subject: Sendmail and Virtual Hosting Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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