From owner-freebsd-questions Thu May 11 10:46:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dipsy.monkeybrains.net (rururudy-3.dsl.speakeasy.net [216.231.57.145]) by hub.freebsd.org (Postfix) with ESMTP id CCB9337BB97 for ; Thu, 11 May 2000 10:46:42 -0700 (PDT) (envelope-from rudy@dipsy.monkeybrains.net) Received: from localhost (rudy@localhost) by dipsy.monkeybrains.net (8.9.3/8.9.3) with ESMTP id KAA01439; Thu, 11 May 2000 10:52:59 -0700 (PDT) (envelope-from rudy@dipsy.monkeybrains.net) Date: Thu, 11 May 2000 10:50:24 -0700 (PDT) From: Rudy Rucker To: Grandpa Walrus Cc: questions@FreeBSD.ORG Subject: Re: Question regarding POP3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know how to implement 'a solution'. It is probably not the best, nevertheless, I use this methodology (I manage about 10 domain names). It works with FBS out-of-the-box. YOu have to create unique unix accounts for every user. To do this prepend every user name with a suffix to identify which domain they reside in. (this makes it easy to erase a bunch of domain names when a domain stops hosting with you as well). DOMAIN NAME -> SUFFIX for unix level username marinasancarlos.com -> msc stim.com -> sti thebiglebowski.com -> tbl Next, take care of incoming mail with some sendmail configuration tweaks in /etc/mail/virutalusertable: @marinasancarlos.com msc-%1 @stim.com sti-%1 @thebiglebowski.com tbl-%1 (don't forget to add all these domains to your /etc/mail/sendmail.cw file) (don't forget to go to http://www.sendmail.org/ to figure out how to set up a virtualusertable) Now, tell your users their POP accounts are msc-sales, msc-support, tbl-support, etc. (don't forget to make these accounts with 'adduser'!) Rudy On Thu, 11 May 2000, Grandpa Walrus wrote: > Does anybody know how to implement a virtual pop server solution on > FreeBSD? > > i.e. > > I have three domains on my server (a.com, b.com, and c.com). > a.com wants three pop mail accounts - sales, support, and theirname > b.com wants four pop mail accounts - sales, abuse, theirname, and foo > c.com wants two pop mail accounts - support and abuse. > > This creates several overlaps. Without putting them on seperate servers, > is there a good way to go about this? I would think it would be possible > (with sufficient tweaking) to get the popper to authenticate against > different password files depending on the domain...is there a package that > implements this currently? > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message