[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shell accounts for multiple domains on one box



On Thu, 24 Mar 2005 02:14:23 -0500, Chris Wagner <wagnerc@plebeian.com> wrote:
> Of course, u could always just keeps things as they are and have the
> usernames be user@domain.com.  That should accomplish everything u need even
> though it might not be the "coolest".

How about replacing the @ symbol with a period? user.domain.com would
be a perfectly valid username. As for MTA, you can map the actual
address to the user's mailbox (ie. user@domain.com -->
user.domain.com).

You'd just have to remind your users that their login name is not
their exact mail address -- it'll be their mail address with the @
symbol replaced with a period. Not too hard.

In regards to having the home directories under a "domain.com"
directory, you can just specify the correct path when using adduser or
automate the process using a shell or Perl script.

-Stephen Le



Reply to: