Philippe Le Marchand wrote:

> Well, I was thinking about doing it...
> 
> I just would like to know if someone is already busy with that stuff...

I did some of these. I have separate users and domains tables and users_domains table 
which allow me to serve users in many domains. But the problem is that you can't have 
the 
same username in different domains because mailboxes are named with username. We would 
have to change mailboxes names to username@domain names or some uniqely generated 
names.

There is another problem with access to these mailboxes with POP or IMAP. Not all 
clients 
allow to supply usernames in form user@domain. The alternative is to use these strange 
uniqe mailbox names.

So I decided not to allow the same usernames to point to different mailboxes. But I 
connected users and domains through users_domains table and I can configure server so 
I 
have user1@domain1 and user2@domain2 and not user1@domain2.

You can off course bypass this using aliases before delivery.


> I would add the following features:
> 
>  
> 
> 1) possibility to "override" the place where to find the maildatabase 
> configuration file for each domain (to allow some domain names to work 
> in a separate DB)

It's not necessary unleast you want to use separate DBs.

        S.


> 
> 2) a check on the domain when delivering messages, by using usernames 
> like <username>@<mydomain.com> in the repository
> 
> 3) a king of mailet processing making a prior check on aliases when 
> delivering a message or creating a user, with an Aliases tables or, 
> easier, a way to tag a user as an alias in the Users table
> 
>  
> 
> This is a "simple" way to do it, but probably not the "cleanest" one, I 
> haven't fully studied the whole code yet.
> 
> Anyway, it is quite an important change that I'm ready to do that way 
> for myself, but it could be interesting to study the idea globally, and 
> thus examining how to do it more deeply.
> 
>  
> 
> What's your opinion about it?
> 
>  
> 
>  
> 
> Philippe
> 
>     ----- Original Message -----
> 
>     From: tarundsk <mailto:[EMAIL PROTECTED]>
> 
>     To: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
> 
>     Sent: Wednesday, September 19, 2001 5:29 AM
> 
>     Subject: RE: Multi-domain and Aliases
> 
> 
>     at this stage i dont think it is possible but we can do this.....am
>     i right other participants.....
> 
>      
> 
>         -----Original Message-----
>         From: Philippe Le Marchand [mailto:[EMAIL PROTECTED]]
>         Sent: Tuesday, September 18, 2001 9:56 PM
>         To: [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>
>         Subject: Multi-domain and Aliases
> 
>         Hi everybody,
> 
>          
> 
>         This is my first message, as I'm setting up JAMES and look for
>         more information.
> 
>          
> 
>         Is it possible to run several domain names in the same instance
>         of JAMES?
> 
>         I mean not the list of <servernames> that allows a kind of
>         "domain aliases" for a single user, but really several domain
>         names accepted, with the same username used for two domain
>         names being two different users?
> 
>          
> 
>         This would make the username look like <username>@<mydomain.com>
>         for instance, or a "domain" column added in the DB, or something...
> 
>         Is it possible today, or will it be in the future?
> 
>          
> 
>          
> 
>         What about e-mail aliases?
> 
>         Is there another way that using a mailet and adding a line in
>         the xml config file, requesting the server to reboot?
> 
>         This would be another table in the DB, or something...
> 
>         Is it possible today, or will it be in the future?
> 
>          
> 
>          
> 
>         Thanks for your answer(s),
> 
>          
> 
>          
> 
>         Philippe Le Marchand
> 
>         Noctis Software
> 
>         [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 


-- 

/*
  * Sebastian Szuber, Poznan Supercomputing and Networking Center
  * email: [EMAIL PROTECTED]
  * phone: (+48 61) 858-20-34, fax: (+48 61) 852-59-54
  *
  */



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to