Still may be worth trying to send a mail from a differant application on the same
machine, such as trying to send create a mail message through telnet.

That way you can be sure whether it is your app or the mail setup.

-Duncan
www.pennymail.com

Ashwin Kutty wrote:

> The SMTP host is the same machine as the page being served are at.
> Sendmail is configured to allow relaying from the localhost.
>
> On Fri, 12 Dec 2003, Ben Souther wrote:
>
> > Looks like you were trying to send to a SMTP host that doesn't allow relaying.
> >
> >
> >
> > On Friday 12 December 2003 08:16 am, Ashwin Kutty wrote:
> > > Was wondering if someone could help me out here.  I am trying a product
> > > out called DSPACE which gives the following error in catalina.out
> > >
> > > 2003-12-12 08:53:34,957 INFO  org.dspace.app.webui.servlet.RegisterServlet
> > > @ anonymous:session_id=B3D285B12E90E6BCCAF3E4097712D59B:error_emai$
> > > javax.mail.SendFailedException: Sending failed;
> > >   nested exception is:
> > >         javax.mail.SendFailedException: Invalid Addresses;
> > >   nested exception is:
> > >         javax.mail.SendFailedException: 550 5.7.1 <[EMAIL PROTECTED]>...
> > > Relaying denied
> > >
> > >         at javax.mail.Transport.send0(Transport.java:219)
> > >         at javax.mail.Transport.send(Transport.java:81)
> > >         at org.dspace.core.Email.send(Email.java:259)
> > >         at
> > > org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:291)
> > >         at
> > > org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:251)
> > >         at
> > > org.dspace.eperson.AccountManager.sendRegistrationInfo(AccountManager.java:
> > >96) at
> > > org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServ
> > >let.java:272) at
> > > org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:
> > >206) at
> > > org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.jav
> > >a:153) at
> > > org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:110)
> > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
> > >nFilterChain.java:247) at
> > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
> > >hain.java:193) at
> > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
> > >ava:256) at
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
> > >keNext(StandardPipeline.java:643) at
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >         at
> > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >         at
> > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
> > >ava:191) at
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
> > >keNext(StandardPipeline.java:643) at
> > > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:
> > >246) at
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
> > >keNext(StandardPipeline.java:641) at
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >         at
> > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >         at
> > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
> > >         at
> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18
> > >0) at
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
> > >keNext(StandardPipeline.java:643) at
> > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve
> > >.java:171) at
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
> > >keNext(StandardPipeline.java:641) at
> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17
> > >2) at
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
> > >keNext(StandardPipeline.java:641) at
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >         at
> > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >         at
> > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
> > >a:174) at
> > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
> > >keNext(StandardPipeline.java:643) at
> > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > >         at
> > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >         at
> > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > >         at
> > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
> > >         at
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
> > >ection(Http11Protocol.java:392) at
> > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> > >         at
> > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
> > >va:619) at java.lang.Thread.run(Thread.java:534)
> > >
> > > I have used valid domains and e-mail addresses, but the error still
> > > appears.  Tomcat has in its server.xml file the name of the server and the
> > > IP in the value tag under mail/Session Resource.  There are no
> > > restrictions on the network, and the smtp server is the same as the
> > > machine hosting the pages.
> > >
> > > Any ideas?
> > >
> > > Thanks.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > --
> > Ben Souther
> > F.W. Davison & Company, Inc.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---
> "The difference between genius and stupidity is that genius has its
> limits."  - Albert Einstein
>
> Ashwin
> kutty..
> Systems Administrator
> Dalhousie University Libraries
> (902) 494-2694
>
> ---------------------------------------------------------------------
> 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