|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: *Very* Virtual Domains
Subject: Re: *Very* Virtual Domains
From: Frank Dziuba (frank
netlojix.com)
Date: Wed Dec 01 1999 - 16:58:59 CST
- Next message: Mike Diehn: "Duplicate emails?"
- Previous message: Matthias Andree: "Re: domain without MX records."
- In reply to: Adam Sherman: "*Very* Virtual Domains"
- Reply: wangb
email.online.ha.cn: "Re: *Very* Virtual Domains"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> I want to setup a system where usernames are of the form 'user
domain'.
>
> Then I want to route mail destined for 'someuser
somedomain.com' to the
> mailbox 'someuser
somedomain-com'. (Notice the lack of period...)
>
> Is this possible? If not, how do you suggest doing things so that their
> can be both a someuser
somedomain.com and someuser
otherdomain.com. (In
> other words, two adam's, working for two different companies.)
>
We do this for our virtual ISP program. The caveat is that of course you
have to make sure the user has NO shell access because they would be confused.
1) when a user is added, create a placeholder account, like SD1234 meaning
'somedomain = SD' and '1234' is the usernumber.
2) Put a map in virtusertable of postfix to handle incoming mail. as in
SD1234 bob
somedomain.com
3) Modify your popmail program so that when it authenticates a user entered
as 'user
somedomain.com' it looks up the mapping in virtusertable and
then changes the username to the 'real' user before proceeding.
4) If you host personal web sites, modify the apache server to remap '~user'
to the real user via the virtusertable.
5) Do the same with FTP. WSFTP has some hooks for this.
6) Obviously your account creation/deletion program has to work with these
changes too.
- Next message: Mike Diehn: "Duplicate emails?"
- Previous message: Matthias Andree: "Re: domain without MX records."
- In reply to: Adam Sherman: "*Very* Virtual Domains"
- Reply: wangb
email.online.ha.cn: "Re: *Very* Virtual Domains"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Wed Dec 01 1999 - 17:48:43 CST