Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 14:50:29 -0500
From:      "Steven Ames" <steve@virtual-voodoo.com>
To:        "Holtor" <holtor@yahoo.com>, <freebsd-isp@FreeBSD.ORG>
Subject:   Re: virtusertable
Message-ID:  <01db01c12755$dee00010$28d90c42@eservoffice.com>
References:  <20010817194448.15858.qmail@web11607.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <holtor@yahoo.com>
To: <freebsd-isp@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01db01c12755$dee00010$28d90c42>