it is showing couldn't connect. Do an nmap on the SMTP server to check if
the port is open or not


On Tue, Feb 25, 2014 at 4:57 PM, Vasiliy Degtyarev <va...@unipro.ru> wrote:

>  Please check SMTP host and port configuration.
>
> I suppose that the smtp port 25 is not available.
>
> Thanks,
> Vasiliy
>
>
>
> On 25.02.2014 18:23, Stelios wrote:
>
>   Hello all,
>
>  I have installed successfully openmeetings, and I have also configured
> exim so that I can send emails to external servers (I have tested through
> telnet and everything is ok).
>
>  But when I try to create a new user, or reset password openmeetings won't
> send the email.
>  I have configured openmeetings' settings like this: http://is.gd/JLz717
>
>  In the openmeetings.log I find this exception (where myhost.mydomain.gr= the 
> FQDN, to which I also connect trhough telnet), repeating(for every
> mail delivery attempt I suppose):
>
>
> DEBUG 02-25 13:09:34.319 o.a.o.u.m.MailHandler:201 [taskExecutor-3] -
> Message sending in progress
> DEBUG 02-25 13:09:34.319 o.a.o.u.m.MailHandler:202 [taskExecutor-3] -
> To: chefa...@gmail.com
> DEBUG 02-25 13:09:34.319 o.a.o.u.m.MailHandler:203 [taskExecutor-3] -
> Subject: OpenMeetings password reset
> DEBUG 02-25 13:09:34.319 o.a.o.u.m.MailHandler:165 [taskExecutor-3] -
> getMimeMessage
> DEBUG 02-25 13:09:34.319 o.a.o.u.m.MailHandler:133 [taskExecutor-3] -
> getBasicMimeMessage
> ERROR 02-25 13:09:34.359 o.a.o.u.m.MailHandler:211 [taskExecutor-2] -
> Error while sending message
> javax.mail.SendFailedException: Send failure
> (javax.mail.MessagingException: Could not connect to SMTP host:
> myhost.mydomain.gr, port: 25 (java.net.ConnectException: Connection
> refused))
>     at javax.mail.Transport.send(Transport.java:163)
> ~[geronimo-javamail_1.4_spec-bundle-1.7.1.jar:1.7.1]
>     at javax.mail.Transport.send(Transport.java:48)
> ~[geronimo-javamail_1.4_spec-bundle-1.7.1.jar:1.7.1]
>     at
> org.apache.openmeetings.utils.mail.MailHandler$1.run(MailHandler.java:207)
> ~[openmeetings-2.2.0-RELEASE.jar:na]
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> [na:1.6.0_45]
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> [na:1.6.0_45]
>     at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]
> Caused by: javax.mail.MessagingException: Could not connect to SMTP host:
> myhost.mydomain.gr, port: 25 (java.net.ConnectException: Connection
> refused)
>     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1961)
> ~[mail-jar-1.4.7.jar:1.4.7]
>     at
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
> ~[mail-jar-1.4.7.jar:1.4.7]
>     at javax.mail.Service.connect(Service.java:274)
> ~[geronimo-javamail_1.4_spec-bundle-1.7.1.jar:1.7.1]
>     at javax.mail.Service.connect(Service.java:91)
> ~[geronimo-javamail_1.4_spec-bundle-1.7.1.jar:1.7.1]
>     at javax.mail.Service.connect(Service.java:76)
> ~[geronimo-javamail_1.4_spec-bundle-1.7.1.jar:1.7.1]
>     at javax.mail.Transport.send(Transport.java:94)
> ~[geronimo-javamail_1.4_spec-bundle-1.7.1.jar:1.7.1]
>     ... 5 common frames omitted
> Caused by: java.net.ConnectException: Connection refused
>     at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.6.0_45]
>     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
> ~[na:1.6.0_45]
>     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
> ~[na:1.6.0_45]
>     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
> ~[na:1.6.0_45]
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> ~[na:1.6.0_45]
>     at java.net.Socket.connect(Socket.java:529) ~[na:1.6.0_45]
>     at java.net.Socket.connect(Socket.java:478) ~[na:1.6.0_45]
>     at
> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321)
> ~[mail-jar-1.4.7.jar:1.4.7]
>     at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:237)
> ~[mail-jar-1.4.7.jar:1.4.7]
>     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)
> ~[mail-jar-1.4.7.jar:1.4.7]
>     ... 10 common frames omitted
>
>
>  Any suggestions?
>
>
>  Thanks for your time
>
>
>


-- 
Rahul Bhola
B.E.
computers
Core Member
Department of backstage
Bits Pilani KK Birla Goa Campus

Reply via email to