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 Norman Maurer <nm...@spam-box.de> on 2006/03/02 22:06:05 UTC
Re: [jira] Commented: (JAMES-426) Make james use
virtual user table domains for servernames
that was what i tested .. and i also tried to use getLogger.error() but
now logs in james-xxxx.log and it also not work. With james-2.2.0 i
manually merge the patch and it work .
bye
Am Donnerstag, den 02.03.2006, 22:04 +0100 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > you mean change it to:
> >
> > ServiceManager componentManager = (ServiceManager) compMgr;
>
> Yes.
>
> From 2.2.0 to 2.3.0 every "Component" has been replaced by "Service"
> and every "ComponentManager" replaced by "ServiceManager".
>
> Stefano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
> !EXCUBATOR:2,44075e0b248171278870915!
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [jira] Commented: (JAMES-426) Make james use virtual user table
domains for servernames
Posted by Stefano Bagnara <ap...@bago.org>.
Norman Maurer wrote:
> that was what i tested .. and i also tried to use getLogger.error() but
> now logs in james-xxxx.log and it also not work. With james-2.2.0 i
> manually merge the patch and it work .
"it also not work" is not of much help. What is the problem? Does it
build? Does it start? Does it throw exceptions?
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [jira] Commented: (JAMES-426) Make james use virtual user table
domains for servernames
Posted by Stefano Bagnara <ap...@bago.org>.
Norman Maurer wrote:
> It builds .. it starts.. No exeptions .. It only not accept emails for
> domains which are not specified in the config.xml but specified in the
> table.
How James reject the message? During the RCPT TO? What is the reject
message?
Add a few debug lines to isLocalServer in James.java to understand where
it does stop.
IMHO it should work like 2.2.0 and there's no reason it should not run
the same code.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [jira] Commented: (JAMES-426) Make james use virtual user table domains for servernames
Posted by Pierre Smits <pi...@gmail.com>.
Norman,
Is it possible that you post your james.java regarding this patch here or in
JIRA? Although not 100% it might prove useful.
Pierre
On 3/3/06, Norman Maurer <nm...@spam-box.de> wrote:
>
> Sorry i was wrong.. the problem was that i was try to pull ot the
> domainTable attribute to early.. it must be :
>
> if (serverConf.getAttributeAsBoolean("autodetect") && (!
> hostName.equals("localhost"))) {
> serverNames.add(hostName.toLowerCase(Locale.US));
> }
>
> try {
> domainTable = (String)
> serverConf.getAttribute("domainTable");
> } catch (Exception e) {
> domainTable = "";
> }
>
> bye
>
>
> Am Freitag, den 03.03.2006, 07:01 +0100 schrieb Norman Maurer:
> > It says relaying denied.. But i think i found the problem.. The problem
> > appears when also some servernames are configured in the config.xml +
> > using the sql table.
> >
> > Can someone repruduce the ?
> >
> >
> > Am Donnerstag, den 02.03.2006, 22:33 +0100 schrieb Stefano Bagnara:
> > > Norman Maurer wrote:
> > > > It builds .. it starts.. No exeptions .. It only not accept emails
> for
> > > > domains which are not specified in the config.xml but specified in
> the
> > > > table.
> > >
> > > How James reject the message? During the RCPT TO? What is the reject
> > > message?
> > >
> > > Add a few debug lines to isLocalServer in James.java to understand
> where
> > > it does stop.
> > >
> > > IMHO it should work like 2.2.0 and there's no reason it should not run
> > > the same code.
> > >
> > > Stefano
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> > > For additional commands, e-mail: server-dev-help@james.apache.org
> > >
> > > !EXCUBATOR:2,440764f3297391009010269!
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-dev-help@james.apache.org
> >
> > !EXCUBATOR:2,4407dd1f251031820291114!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>
Re: [jira] Commented: (JAMES-426) Make
james use virtual user table domains for servernames
Posted by Norman Maurer <nm...@spam-box.de>.
It says relaying denied.. But i think i found the problem.. The problem
appears when also some servernames are configured in the config.xml +
using the sql table.
Can someone repruduce the ?
Am Donnerstag, den 02.03.2006, 22:33 +0100 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > It builds .. it starts.. No exeptions .. It only not accept emails for
> > domains which are not specified in the config.xml but specified in the
> > table.
>
> How James reject the message? During the RCPT TO? What is the reject
> message?
>
> Add a few debug lines to isLocalServer in James.java to understand where
> it does stop.
>
> IMHO it should work like 2.2.0 and there's no reason it should not run
> the same code.
>
> Stefano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
> !EXCUBATOR:2,440764f3297391009010269!
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [jira] Commented: (JAMES-426) Make
james use virtual user table domains for servernames
Posted by Norman Maurer <nm...@spam-box.de>.
Sorry i was wrong.. the problem was that i was try to pull ot the
domainTable attribute to early.. it must be :
if (serverConf.getAttributeAsBoolean("autodetect") && (!
hostName.equals("localhost"))) {
serverNames.add(hostName.toLowerCase(Locale.US));
}
try {
domainTable = (String)
serverConf.getAttribute("domainTable");
} catch (Exception e) {
domainTable = "";
}
bye
Am Freitag, den 03.03.2006, 07:01 +0100 schrieb Norman Maurer:
> It says relaying denied.. But i think i found the problem.. The problem
> appears when also some servernames are configured in the config.xml +
> using the sql table.
>
> Can someone repruduce the ?
>
>
> Am Donnerstag, den 02.03.2006, 22:33 +0100 schrieb Stefano Bagnara:
> > Norman Maurer wrote:
> > > It builds .. it starts.. No exeptions .. It only not accept emails for
> > > domains which are not specified in the config.xml but specified in the
> > > table.
> >
> > How James reject the message? During the RCPT TO? What is the reject
> > message?
> >
> > Add a few debug lines to isLocalServer in James.java to understand where
> > it does stop.
> >
> > IMHO it should work like 2.2.0 and there's no reason it should not run
> > the same code.
> >
> > Stefano
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-dev-help@james.apache.org
> >
> > !EXCUBATOR:2,440764f3297391009010269!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
> !EXCUBATOR:2,4407dd1f251031820291114!
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [jira] Commented: (JAMES-426) Make james
use virtual user table domains for servernames
Posted by Norman Maurer <nm...@spam-box.de>.
It builds .. it starts.. No exeptions .. It only not accept emails for
domains which are not specified in the config.xml but specified in the
table.
bye
Am Donnerstag, den 02.03.2006, 22:19 +0100 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > that was what i tested .. and i also tried to use getLogger.error() but
> > now logs in james-xxxx.log and it also not work. With james-2.2.0 i
> > manually merge the patch and it work .
>
> "it also not work" is not of much help. What is the problem? Does it
> build? Does it start? Does it throw exceptions?
>
> Stefano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
> !EXCUBATOR:2,4407618c276752025014079!
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org