Daniel, Is it not possible to resolve the servernames in the VirtualUserTable with a matcher and/or a mailet?
Regards, Pierre On 2/3/06, Daniel Perry (JIRA) <server-dev@james.apache.org> wrote: > > [ > http://issues.apache.org/jira/browse/JAMES-426?page=comments#action_12365067] > > Daniel Perry commented on JAMES-426: > ------------------------------------ > > I agree. The code i provided shouldn't affect any user of james, unless > they add the extra attribute, so therefore could be added without causing > any problems. I would suggest that it is put to a vote on the dev list, but > as i am not a commiter, I dont really have a say. > > Daniel. > > > 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 > > Attachments: patch.txt > > > > 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 > >