Make james use virtual user table domains for servernames
---------------------------------------------------------

         Key: JAMES-426
         URL: http://issues.apache.org/jira/browse/JAMES-426
     Project: James
        Type: Improvement
  Components: James Core  
 Environment: N/A
    Reporter: Daniel Perry
    Priority: Trivial


Attached is a patch that makes james use the virtualusertable database for 
identifying local hosts.  It also allows for continued use of servernames 
block.  It is backwards compatible, and unless an extra attribute is added in 
the configuration, it wont affect james's behaviour.

It is configured by adding the domainTable attribute to the servernames 
element, eg:

<servernames autodetect="true" autodetectIP="true" 
domainTable="db://maildb/VirtualUserTable">

Please note that the patch i will attach against svn trunk, but has been copied 
over directly from 2.2.0, and i havnt had a chance to check if it compiles or 
works with svn trunk.

Daniel.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to