|
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: wangb
email.online.ha.cn
Date: Mon Dec 06 1999 - 01:46:45 CST
- Next message: Christopher E. Brown: "Re: Deliver all mail (from mySQL) w/o real users"
- Previous message: Sean Rima: "Multiple delivery agents"
- In reply to: Frank Dziuba: "Re: *Very* Virtual Domains"
- Reply: Wietse Venema: "Re: *Very* Virtual Domains"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I think the transport map can implement the virtual domain deleiver.
if there is just one virtual domain, we can maildrop with userdb
or other MDA to deliever the virtual domain mail. but if there
are many virtual domain, the way must configure many transport in
master.cf, it is not a good idea. but if we can use a parameter(or ENV)
to tell MDA the mail is belong to which vitual domain, we can use one
transport item in master.cf, to deleiver many vitural domain's mail.
how about the idea?
Wang Bo
On Wed, 1 Dec 1999, Frank Dziuba wrote:
> >
> > 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: Christopher E. Brown: "Re: Deliver all mail (from mySQL) w/o real users"
- Previous message: Sean Rima: "Multiple delivery agents"
- In reply to: Frank Dziuba: "Re: *Very* Virtual Domains"
- Reply: Wietse Venema: "Re: *Very* Virtual Domains"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Mon Dec 06 1999 - 02:47:26 CST