Norman,

Thank you for the quick response.
I fixed the problem by configuring the smtp port
number in the java email application to the port james
running at.

However, what you said is correct. When I did not
specify the smpt port in java email application, it
assumes the default port, at which is the qmail
server, that's why I had the problem initially.

Best,

Frank


--- Norman <[EMAIL PROTECTED]> wrote:

> Hi Frank,
> 
> the error you posted ("553 sorry, that domain isn't
> in my list of
> allowed rcpthosts (#5.7.1)") is not a response of
> james. This error
> message looks like qmail response.., Maybe you try
> to send the email via
> a qmail mailrelay and forgot to add the ip address
> of your "jboss"
> server to the qmail tcp.smtp file ?
> 
> bye
> Norman
> 
> frank chen schrieb:
> > Greeting....
> >
> > I have a Java web applicaiton running on jboss
> > applicaiton server in linux environment.
> > I also run James for mail server.
> > The web application has an email function. 
> > When I run it, it got the following error:
> > <----
> > MAIL FROM:<[EMAIL PROTECTED]>
> > 250 ok
> > RCPT TO:<[EMAIL PROTECTED]>
> > 553 sorry, that domain isn't in my list of allowed
> > rcpthosts (#5.7.1)
> > DEBUG SMTP: Invalid Addresses
> > DEBUG SMTP: [EMAIL PROTECTED]
> > DEBUG SMTP: Sending failed because of invalid
> > destination addresses
> > --->
> >
> > In addition,
> > 1. In the same environment, I run a stand alone
> Java
> > email application with James (i.e. without JBOSS),
> the
> > email function works fine.
> > 2. In my local machine (Windows XP), I run the
> same
> > JBoss web application with James, the email
> function
> > works fine.
> > 3. I am using james v 2.2.0, jboss 4.0.2.
> > 4. [EMAIL PROTECTED] is my real yahoo
> > email account.
> >
> > Do I need configure jboss and/or james somewhere
> to
> > solve the problem?
> > Or I maybe miss something else.
> >
> > Any advices are really appreciated!
> >
> > Best,
> >
> > Frank
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> > 
> >
> >
> >   
> 
> 
> !DSPAM:1,46052c28174861490173134!
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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

Reply via email to