Dear James,

I am not able to sent the mails from the ssl port....

telnet mail.sarai.net 465
Trying 64.79.194.21...
Connected to mail.sarai.net.
Escape character is '^]'.

it is possible to connect through the ssl port without accepting ssl 
certificate.

James Rutherford wrote:
> Have you tried connecting to mail.sarai.net on port 465 from the machine
> that DSpace is running on? It could be a simple connectivity issue.
> Something like telnet mail.sarai.net 465 ought to provide some insight.
>
> cheers,
>
> Jim
>
> On Sat, Aug 02, 2008 at 05:47:06AM +0000, Nitin Bhadauria wrote:
>   
>>> Please send a full stack trace and the relevant lines from your
>>> dspace.cfg.
>>>       
>> Here is the configuration ......
>>
>> # SMTP mail server
>> mail.server=mail.sarai.net
>>
>> # SMTP mail server authentication username and password (if required)
>> mail.server.username = [EMAIL PROTECTED]
>> mail.server.password = mypassword
>>
>> # SMTP mail server alternate port (defaults to 25)
>> mail.server.port = 465
>>
>> # From address for mail
>> mail.from.address = [EMAIL PROTECTED]
>>
>> # Currently limited to one recipient!
>> feedback.recipient = [EMAIL PROTECTED]
>>
>> # General site administration (Webmaster) e-mail
>> mail.admin = [EMAIL PROTECTED]
>>
>>
>>
>>
>> then this is the error log from dspace.log ......
>>
>> 2008-08-02 07:07:50,127 INFO  org.dspace.app.webui.servlet.RegisterServlet
>> @
>> anonymous:session_id=EB37E08A3F822F94E6F992CD3596F26C:ip_addr=192.168.130.1:sendtoken_register:[EMAIL
>>  PROTECTED]
>> 2008-08-02 07:12:54,805 INFO  org.dspace.app.webui.servlet.RegisterServlet
>> @
>> anonymous:session_id=EB37E08A3F822F94E6F992CD3596F26C:ip_addr=192.168.130.1:error_emailing:[EMAIL
>>  PROTECTED]
>> javax.mail.MessagingException: Could not connect to SMTP host:
>> mail.sarai.net, port: 465, response: -1
>>         at
>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1270)
>>         at
>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
>>         at javax.mail.Service.connect(Service.java:297)
>>         at javax.mail.Service.connect(Service.java:156)
>>         at javax.mail.Service.connect(Service.java:105)
>>         at javax.mail.Transport.send0(Transport.java:168)
>>         at javax.mail.Transport.send(Transport.java:98)
>>         at org.dspace.core.Email.send(Email.java:362)
>>         at
>> org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:296)
>>         at
>> org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:256)
>>         at
>> org.dspace.eperson.AccountManager.sendRegistrationInfo(AccountManager.java:101)
>>         at
>> org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:287)
>>         at
>> org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:202)
>>         at
>> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
>>         at
>> org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>>         at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>         at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>>         at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>         at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>>         at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>>         at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>>         at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
>>         at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>>         at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>>         at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>>         at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>>         at java.lang.Thread.run(Thread.java:595)
>>
>>
>>
>>
>>
>>     
>>> Jim
>>>
>>> On Fri, Aug 01, 2008 at 10:02:35AM +0000, Nitin Bhadauria wrote:
>>>       
>>>> please help me .......
>>>>
>>>>
>>>>
>>>> ---------------------------- Original Message
>>>> ----------------------------
>>>> Subject: [Dspace-tech] How to configure dspace to using a mail server
>>>> running on ssl ports
>>>> From:    "Nitin Bhadauria" <[EMAIL PROTECTED]>
>>>> Date:    Thu, July 31, 2008 7:15 pm
>>>> To:      [email protected]
>>>> --------------------------------------------------------------------------
>>>>
>>>> Dear Frnds
>>>>
>>>>
>>>> my mail server is running on ssl ports so when i try to configure
>>>> dspace.cfg with the new port 465 error says.
>>>>
>>>> javax.mail.MessagingException: Could not connect to SMTP host:
>>>> mail.sarai.net, port: 465, response: -1
>>>>
>>>> Thanks
>>>> Nitin
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> DSpace-tech mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> DSpace-tech mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>>         
>>> --
>>> James Rutherford          |  Hewlett-Packard Limited registered Office:
>>> Research Engineer         |  Cain Road,
>>> HP Labs                   |  Bracknell,
>>> Bristol, UK               |  Berks
>>> +44 117 312 7066          |  RG12 1HN.
>>> [EMAIL PROTECTED]   |  Registered No: 690597 England
>>>
>>> The contents of this message and any attachments to it are confidential
>>> and
>>> may be legally privileged. If you have received this message in error, you
>>> should delete it from your system immediately and advise the sender. To
>>> any
>>> recipient of this message within HP, unless otherwise stated you should
>>> consider this message and attachments as "HP CONFIDENTIAL".
>>>
>>>       
>
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to