You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Eric Charles (JIRA)" <se...@james.apache.org> on 2010/08/14 17:02:18 UTC

[jira] Created: (JAMES-1035) XML/JDBCVirtualUserTable should not implement DomainList

XML/JDBCVirtualUserTable should not implement DomainList
--------------------------------------------------------

                 Key: JAMES-1035
                 URL: https://issues.apache.org/jira/browse/JAMES-1035
             Project: JAMES Server
          Issue Type: Bug
          Components: James Core
    Affects Versions: Trunk
            Reporter: Eric Charles
             Fix For: 3.0-M1


VirtualUserTable (AbstractVirtualUserTable and its implementations) implements DomainList but should not be related to the domain management.
We should remove "implements DomainList" and its implementation methods.
We should also remove the mentions in spring-beans.xml as possible "domainlist" bean. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Closed: (JAMES-1035) XML/JDBCVirtualUserTable should not implement DomainList

Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles closed JAMES-1035.
-------------------------------

    Resolution: Fixed

Implemented and committed in http://svn.apache.org/viewvc?rev=985504&view=rev 

> XML/JDBCVirtualUserTable should not implement DomainList
> --------------------------------------------------------
>
>                 Key: JAMES-1035
>                 URL: https://issues.apache.org/jira/browse/JAMES-1035
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>             Fix For: 3.0-M1
>
>
> VirtualUserTable (AbstractVirtualUserTable and its implementations) implements DomainList but should not be related to the domain management.
> We should remove "implements DomainList" and its implementation methods.
> We should also remove the mentions in spring-beans.xml as possible "domainlist" bean. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Assigned: (JAMES-1035) XML/JDBCVirtualUserTable should not implement DomainList

Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles reassigned JAMES-1035:
-----------------------------------

    Assignee: Eric Charles

> XML/JDBCVirtualUserTable should not implement DomainList
> --------------------------------------------------------
>
>                 Key: JAMES-1035
>                 URL: https://issues.apache.org/jira/browse/JAMES-1035
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>             Fix For: 3.0-M1
>
>
> VirtualUserTable (AbstractVirtualUserTable and its implementations) implements DomainList but should not be related to the domain management.
> We should remove "implements DomainList" and its implementation methods.
> We should also remove the mentions in spring-beans.xml as possible "domainlist" bean. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-1035) XML/JDBCVirtualUserTable should not implement DomainList

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898614#action_12898614 ] 

Stefano Bagnara commented on JAMES-1035:
----------------------------------------

IIRC implementing DomainList  was a need in order to configure James with JDBCVirtualUserTable and still use the same bean also for the server domain list. This way you have a single db table for users and domains are "computed" from enlisted rules.

I'm not suggesting we should revert this commit, just explaining how it worked!

I'm not up to date with the current trunk, so maybe now we have a smarter way to manage multi domain virtual user tables and domains without the need to reconfigure/restart james: in this case maybe we should add at least a comment here on how to do that now.

> XML/JDBCVirtualUserTable should not implement DomainList
> --------------------------------------------------------
>
>                 Key: JAMES-1035
>                 URL: https://issues.apache.org/jira/browse/JAMES-1035
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>             Fix For: 3.0-M1
>
>
> VirtualUserTable (AbstractVirtualUserTable and its implementations) implements DomainList but should not be related to the domain management.
> We should remove "implements DomainList" and its implementation methods.
> We should also remove the mentions in spring-beans.xml as possible "domainlist" bean. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-1035) XML/JDBCVirtualUserTable should not implement DomainList

Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898622#action_12898622 ] 

Eric Charles commented on JAMES-1035:
-------------------------------------

There are 2 ways to create usernames depending on the value of <enableVirtualHosting/> in James.xml
1.- false: a String (without @). In this case, the associated email will be the username + the default domain defined in James.xml
2.- true: the option 1.- or a email address.

Mapping is always from a mail address (name@domain.tld) to a username (so : mail -> username).

For XMLVirtualUserTable, mappings are defined in virtualusertable-store.xml and are statically read at startup (so you need to restart).
For JDBCVirtualUserTable, mappings can be created via management console and are taken into account without the need to restart.

In both cases, the mail of the mapping ("mail -> username) can be a mail of a domain listed as a james local domain, or any other external domain.

For multidomain support, the classical path is:
- create the list of local domains
- create the username such as "user@domain.tld".

After, create your mappings : addmapping any_email_address username

With this change, we don't support anymore something like "the list of domains is generated from a list of existing mappings" (I guess this is what was done with the previous impl).
But with that, I think there was a mix of 2 things : the domains list, and the mapping list.

For the record, the forward and alias stuff are no more supported.

If still ok to everyone to remove the "implements DomainList", the possible configs will be documented on James 3.0 web site.


> XML/JDBCVirtualUserTable should not implement DomainList
> --------------------------------------------------------
>
>                 Key: JAMES-1035
>                 URL: https://issues.apache.org/jira/browse/JAMES-1035
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>             Fix For: 3.0-M1
>
>
> VirtualUserTable (AbstractVirtualUserTable and its implementations) implements DomainList but should not be related to the domain management.
> We should remove "implements DomainList" and its implementation methods.
> We should also remove the mentions in spring-beans.xml as possible "domainlist" bean. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-1035) XML/JDBCVirtualUserTable should not implement DomainList

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898689#action_12898689 ] 

Norman Maurer commented on JAMES-1035:
--------------------------------------

I'm with eric here.. lets get rid of it :)

> XML/JDBCVirtualUserTable should not implement DomainList
> --------------------------------------------------------
>
>                 Key: JAMES-1035
>                 URL: https://issues.apache.org/jira/browse/JAMES-1035
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>             Fix For: 3.0-M1
>
>
> VirtualUserTable (AbstractVirtualUserTable and its implementations) implements DomainList but should not be related to the domain management.
> We should remove "implements DomainList" and its implementation methods.
> We should also remove the mentions in spring-beans.xml as possible "domainlist" bean. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org