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 Pierre Smits <pi...@gmail.com> on 2006/03/02 08:55:00 UTC
Re: [jira] Commented: (JAMES-426) Make james use virtual user table domains for servernames
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) <se...@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
>
>
Re: [jira] Commented: (JAMES-426) Make james use virtual user table domains for servernames
Posted by Pierre Smits <pi...@gmail.com>.
Daniel,
I got a friend help me with setting up the build process in eclipse. I had
some problems there. So now I am able to look at your code regarding virtual
domain resolvement.
Is it correct to say that in your modification everything related to
'domaintable' should be incorporated in james.java? Or am I per chance
missing something?
Regards,
Pierre
On 3/2/06, Pierre Smits <pi...@gmail.com> wrote:
>
> 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) <se...@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
> >
> >
>