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 Cavan Morris <cm...@cadorecreation.com> on 2003/01/08 21:57:37 UTC

2.* SMTP Bug?

Hey Everybody,
I've looked through the archives and haven't found anything like this so I thought I bring it up here.  I've used 1.2 for a while but have problems with it's memory leak so I upgraded.  That's when I ran into this problem.  everything works great, as long as I don't send any messages to hotmail.com.  I can switch back to 1.2 and get through, but then I run into the memory leak again.  I've tried all available 2.* builds and have this problem with all of them.
I'll send my config file to anyone that requests it to investigate the problem.  The only "non-standard" things about my setup are that I've disabled nntp and my machine listens on several IPs.  I've got a single custom mailet that redirects some messages but anything that makes it into the log snippet below is already way past that.
I figure that this issue must be because of some kind of non-compliance with either James or Hotmail.  If the fault lies with hotmail I would like to make the controversial suggestion that, for usability reasons, James be modified to accommodate it.

Thanks for your time.  Please feel free to contact me directly with any questions regarding this issue.

---From James.Mailet.log V2.1a1-----
1042057372307 [INFO   ] (James.Mailet): RemoteDelivery: attempting to deliver Mail1042057359383-46-!316702668-to-hotmail.com
1042057372308 [INFO   ] (James.Mailet): RemoteDelivery: attempting delivery of Mail1042057359383-46-!316702668-to-hotmail.com to host mx4.hotmail.com. to [rjeremy15@hotmail.com]
1042057372375 [INFO   ] (James.Mailet): RemoteDelivery: Exception delivering message (Mail1042057359383-46-!316702668-to-hotmail.com) - 554 Transaction failed

1042057372375 [INFO   ] (James.Mailet): RemoteDelivery: Temporary exception delivering mail (Mail1042057359383-46-!316702668-to-hotmail.com: javax.mail.MessagingException: 554 Transaction failed

        at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
        at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:192)
        at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:449)
        at java.lang.Thread.run(Thread.java:536)
----End Log Snippet----

Cavan Morris


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: 2.* SMTP Bug?

Posted by Cavan Morris <cm...@cadorecreation.com>.
Yep. Thanks a lot.

-Cavan Morris

----- Original Message ----- 
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Wednesday, January 08, 2003 9:36 PM
Subject: RE: 2.* SMTP Bug?


> OK, so using build.bat does the trick.  Well, that's what its there for.
> :-)  This means that you're back on track and good to go?
> 
> --- Noel
> 
> -----Original Message-----
> From: Cavan Morris [mailto:cmorris@cadorecreation.com]
> Sent: Thursday, January 09, 2003 0:23
> To: James Developers List
> Subject: Re: 2.* SMTP Bug?
> 
> 
> I find that if I use build.bat it works fine.  I don't believe that I have
> any other Avalon code anywhere.
> 
> -Cavan Morris
> 
> ----- Original Message -----
> From: "Noel J. Bergman" <no...@devtech.com>
> To: "James Developers List" <ja...@jakarta.apache.org>
> Sent: Wednesday, January 08, 2003 7:55 PM
> Subject: RE: 2.* SMTP Bug?
> 
> > Cavan,
> >
> > Interesting.  I built that src from the same set before we added some new
> > changes that will be in v2.1.1.  So it should have exactly the same files.
> >
> > Is it possible that you've something in your environment causing a
> problem?
> > Do you have another copy of any or avalon code?  Did you try running
> > ./build.bat, or did you only run ant directly?
> >
> > --- Noel
> >
> > -----Original Message-----
> > From: Cavan Morris [mailto:cmorris@cadorecreation.com]
> > Sent: Wednesday, January 08, 2003 22:21
> > To: James Developers List
> > Subject: Re: 2.* SMTP Bug?
> >
> >
> > Then the archives on apache.org should probably be updated with that
> because
> > I downloaded the 2.1 src zip today and that's where the error came from.
> Is
> > it possible that you have an old jar with this task in your ant path?
> > -Cavan Morris
> >
> > ----- Original Message -----
> > From: "Noel J. Bergman" <no...@devtech.com>
> > To: "James Developers List" <ja...@jakarta.apache.org>
> > Sent: Wednesday, January 08, 2003 4:14 PM
> > Subject: RE: 2.* SMTP Bug?
> >
> >
> > > > Another small problem is that I can't build the 2.1 .sar from source.
> > >
> > > > BUILD FAILED
> > > > C:\JAKART~4.1\build.xml:386: java.lang.NoSuchMethodError:
> > > > org.apache.avalon.phoenix.tools.tasks.Sar.setDestFile(Ljava/io/File;)V
> > >
> > > To do a clean checkout of James, do the following:
> > >
> > >   cvs checkout -r branch_2_1_fcs -d jakarta-james-v2 jakarta-james
> > >
> > > I did that just yesterday to give myself a separate directory for James
> v2
> > > maintenance, and the build script worked just fine.
> > >
> > > --- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: 2.* SMTP Bug?

Posted by "Noel J. Bergman" <no...@devtech.com>.
OK, so using build.bat does the trick.  Well, that's what its there for.
:-)  This means that you're back on track and good to go?

	--- Noel

-----Original Message-----
From: Cavan Morris [mailto:cmorris@cadorecreation.com]
Sent: Thursday, January 09, 2003 0:23
To: James Developers List
Subject: Re: 2.* SMTP Bug?


I find that if I use build.bat it works fine.  I don't believe that I have
any other Avalon code anywhere.

-Cavan Morris

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Wednesday, January 08, 2003 7:55 PM
Subject: RE: 2.* SMTP Bug?

> Cavan,
>
> Interesting.  I built that src from the same set before we added some new
> changes that will be in v2.1.1.  So it should have exactly the same files.
>
> Is it possible that you've something in your environment causing a
problem?
> Do you have another copy of any or avalon code?  Did you try running
> ./build.bat, or did you only run ant directly?
>
> --- Noel
>
> -----Original Message-----
> From: Cavan Morris [mailto:cmorris@cadorecreation.com]
> Sent: Wednesday, January 08, 2003 22:21
> To: James Developers List
> Subject: Re: 2.* SMTP Bug?
>
>
> Then the archives on apache.org should probably be updated with that
because
> I downloaded the 2.1 src zip today and that's where the error came from.
Is
> it possible that you have an old jar with this task in your ant path?
> -Cavan Morris
>
> ----- Original Message -----
> From: "Noel J. Bergman" <no...@devtech.com>
> To: "James Developers List" <ja...@jakarta.apache.org>
> Sent: Wednesday, January 08, 2003 4:14 PM
> Subject: RE: 2.* SMTP Bug?
>
>
> > > Another small problem is that I can't build the 2.1 .sar from source.
> >
> > > BUILD FAILED
> > > C:\JAKART~4.1\build.xml:386: java.lang.NoSuchMethodError:
> > > org.apache.avalon.phoenix.tools.tasks.Sar.setDestFile(Ljava/io/File;)V
> >
> > To do a clean checkout of James, do the following:
> >
> >   cvs checkout -r branch_2_1_fcs -d jakarta-james-v2 jakarta-james
> >
> > I did that just yesterday to give myself a separate directory for James
v2
> > maintenance, and the build script worked just fine.
> >
> > --- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: 2.* SMTP Bug?

Posted by Cavan Morris <cm...@cadorecreation.com>.
I find that if I use build.bat it works fine.  I don't believe that I have any other Avalon code anywhere.

-Cavan Morris

----- Original Message ----- 
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Wednesday, January 08, 2003 7:55 PM
Subject: RE: 2.* SMTP Bug?


> Cavan,
> 
> Interesting.  I built that src from the same set before we added some new
> changes that will be in v2.1.1.  So it should have exactly the same files.
> 
> Is it possible that you've something in your environment causing a problem?
> Do you have another copy of any or avalon code?  Did you try running
> ./build.bat, or did you only run ant directly?
> 
> --- Noel
> 
> -----Original Message-----
> From: Cavan Morris [mailto:cmorris@cadorecreation.com]
> Sent: Wednesday, January 08, 2003 22:21
> To: James Developers List
> Subject: Re: 2.* SMTP Bug?
> 
> 
> Then the archives on apache.org should probably be updated with that because
> I downloaded the 2.1 src zip today and that's where the error came from.  Is
> it possible that you have an old jar with this task in your ant path?
> -Cavan Morris
> 
> ----- Original Message -----
> From: "Noel J. Bergman" <no...@devtech.com>
> To: "James Developers List" <ja...@jakarta.apache.org>
> Sent: Wednesday, January 08, 2003 4:14 PM
> Subject: RE: 2.* SMTP Bug?
> 
> 
> > > Another small problem is that I can't build the 2.1 .sar from source.
> >
> > > BUILD FAILED
> > > C:\JAKART~4.1\build.xml:386: java.lang.NoSuchMethodError:
> > > org.apache.avalon.phoenix.tools.tasks.Sar.setDestFile(Ljava/io/File;)V
> >
> > To do a clean checkout of James, do the following:
> >
> >   cvs checkout -r branch_2_1_fcs -d jakarta-james-v2 jakarta-james
> >
> > I did that just yesterday to give myself a separate directory for James v2
> > maintenance, and the build script worked just fine.
> >
> > --- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: 2.* SMTP Bug?

Posted by "Noel J. Bergman" <no...@devtech.com>.
Cavan,

Interesting.  I built that src from the same set before we added some new
changes that will be in v2.1.1.  So it should have exactly the same files.

Is it possible that you've something in your environment causing a problem?
Do you have another copy of any or avalon code?  Did you try running
./build.bat, or did you only run ant directly?

	--- Noel

-----Original Message-----
From: Cavan Morris [mailto:cmorris@cadorecreation.com]
Sent: Wednesday, January 08, 2003 22:21
To: James Developers List
Subject: Re: 2.* SMTP Bug?


Then the archives on apache.org should probably be updated with that because
I downloaded the 2.1 src zip today and that's where the error came from.  Is
it possible that you have an old jar with this task in your ant path?
-Cavan Morris

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Wednesday, January 08, 2003 4:14 PM
Subject: RE: 2.* SMTP Bug?


> > Another small problem is that I can't build the 2.1 .sar from source.
>
> > BUILD FAILED
> > C:\JAKART~4.1\build.xml:386: java.lang.NoSuchMethodError:
> > org.apache.avalon.phoenix.tools.tasks.Sar.setDestFile(Ljava/io/File;)V
>
> To do a clean checkout of James, do the following:
>
>   cvs checkout -r branch_2_1_fcs -d jakarta-james-v2 jakarta-james
>
> I did that just yesterday to give myself a separate directory for James v2
> maintenance, and the build script worked just fine.
>
> --- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: 2.* SMTP Bug?

Posted by Cavan Morris <cm...@cadorecreation.com>.
Then the archives on apache.org should probably be updated with that because I downloaded the 2.1 src zip today and that's where the error came from.  Is it possible that you have an old jar with this task in your ant path?
-Cavan Morris

----- Original Message ----- 
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Wednesday, January 08, 2003 4:14 PM
Subject: RE: 2.* SMTP Bug?


> > Another small problem is that I can't build the 2.1 .sar from source.
> 
> > BUILD FAILED
> > C:\JAKART~4.1\build.xml:386: java.lang.NoSuchMethodError:
> > org.apache.avalon.phoenix.tools.tasks.Sar.setDestFile(Ljava/io/File;)V
> 
> To do a clean checkout of James, do the following:
> 
>   cvs checkout -r branch_2_1_fcs -d jakarta-james-v2 jakarta-james
> 
> I did that just yesterday to give myself a separate directory for James v2
> maintenance, and the build script worked just fine.
> 
> --- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: 2.* SMTP Bug?

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Another small problem is that I can't build the 2.1 .sar from source.

> BUILD FAILED
> C:\JAKART~4.1\build.xml:386: java.lang.NoSuchMethodError:
> org.apache.avalon.phoenix.tools.tasks.Sar.setDestFile(Ljava/io/File;)V

To do a clean checkout of James, do the following:

  cvs checkout -r branch_2_1_fcs -d jakarta-james-v2 jakarta-james

I did that just yesterday to give myself a separate directory for James v2
maintenance, and the build script worked just fine.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: 2.* SMTP Bug?

Posted by Cavan Morris <cm...@cadorecreation.com>.
Thank You.  I'm an idiot.  I linked to the wrong directory and when I restarted James the version switched.  Another small problem is that I can't build the 2.1 .sar from source. I've got a work around to get my mailet into a binary so it's not a big deal but here's the error if you're interested.  

[C:/JAKART~4.1] ant
Buildfile: build.xml

prepare-common:
     [echo] Preparing code

prepare-phoenix:

prepare-jdbc3:
     [echo] JDBC v3 in classpath - making code JDBC 3.0 compliant

prepare:

compile:
     [echo] Compiling James Java sources

sar:
     [echo] Making James Sarfile (james.sar)

BUILD FAILED

C:\JAKART~4.1\build.xml:386: java.lang.NoSuchMethodError: org.apache.avalon.phoenix.tools.tasks.Sar.setDestFile(Ljava/io/File;)V

Total time: 6 seconds

----- Original Message ----- 
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Developers List" <ja...@jakarta.apache.org>
Cc: "Cavan Morris" <cm...@cadorecreation.com>
Sent: Wednesday, January 08, 2003 2:10 PM
Subject: RE: 2.* SMTP Bug?


> Cavan,
> 
> You appear to be running a very old version of James -- version 2.0a3 to be
> specific.  I say this with some confidence because these two lines from the
> log:
> 
>         at
> org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
> a:192)
>         at
> org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:44
> 9)
> 
> would only be the case for v2.0a3.
> 
> Please download James v2.1 (http://www.apache.org/dist/jakarta/james), which
> hopefully addresses the problem.
> 
> --- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: 2.* SMTP Bug?

Posted by "Noel J. Bergman" <no...@devtech.com>.
Cavan,

You appear to be running a very old version of James -- version 2.0a3 to be
specific.  I say this with some confidence because these two lines from the
log:

        at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
a:192)
        at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:44
9)

would only be the case for v2.0a3.

Please download James v2.1 (http://www.apache.org/dist/jakarta/james), which
hopefully addresses the problem.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>