From owner-freebsd-isp Fri Aug 17 12:54:24 2001 Delivered-To: freebsd-isp@freebsd.org Received: from virtual-voodoo.com (bdsl.66.12.217.106.gte.net [66.12.217.106]) by hub.freebsd.org (Postfix) with ESMTP id B85B137B408 for ; Fri, 17 Aug 2001 12:54:12 -0700 (PDT) (envelope-from steve@virtual-voodoo.com) Received: from inlafrec (bdsl.66.12.217.40.gte.net [66.12.217.40]) (authenticated) by virtual-voodoo.com (8.11.5/8.11.5) with ESMTP id f7HJsAR50514; Fri, 17 Aug 2001 14:54:10 -0500 (EST) (envelope-from steve@virtual-voodoo.com) Message-ID: <01db01c12755$dee00010$28d90c42@eservoffice.com> From: "Steven Ames" To: "Holtor" , References: <20010817194448.15858.qmail@web11607.mail.yahoo.com> Subject: Re: virtusertable Date: Fri, 17 Aug 2001 14:50:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hrm... the clever way would be to use a directory or database instead of virtusertable. The kludge would be to tell your users to have a file in their home directory (call it aliases for sake of argument) and then write a quick shell script to grab these files, combine them all into one virtusertable and then run makemap on them. Either force the user to use a format such as 'bob@domain.com joe@aol.com' or better (and safer because you really don't want them putting in a domain that isn't theirs) tell them to use a format of 'bob joe@aol.com' and then your script puts the domain name on. Set the default '@domain.com' to go to the first user in the file or something. A config file that says 'domain_name username' would allow you to set things up and keep it simple. -Steve ----- Original Message ----- From: "Holtor" To: Sent: Friday, August 17, 2001 2:44 PM Subject: virtusertable > Hello all, > > Does anyone know of a good way to give web hosting > customers access to modify their own e-mail aliases > for their domain using virtusertable? > > I was thinking something like > > /etc/mail/virtusertable: > @domain.com /usr/home/$user/.aliases > > Then in .aliases > user1 user@hotmail.com > user4 user@yahoo.com > > Of course this does not work .. any ideas? > > TIA > > Holt > > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message