Hello Daniel, " Couldn't connect to host,... Connection refused "
Two pointers to resolve the issue: 1. Firewall issue Open OS and software firewall SMTP ports. Set hardware firewall policies NAT allow from your server to WAN. 2. OM configuration issue: Configure Admin -> Configuration Smtp_server: this is the smtp server to send messages. Smtp_port: this is the smtp server port normally 25 or 80, if using no SSL, otherwise 443 if using SSL encrypted e-mail. System_email_addr: all sent e-mails by the system including invitations will have this address: Email_username (System authentication email username): your e-mail's username: .... or on how your third party e-mail client is configured. Email_userpass: the password of your e-mail's username Mail.smtp.starttls.enable: 0 (if above 25 or 80) or 1 (if above is 443) Enable TLS 1=true, 0=false For example, in GMail, Smtp_server: smtp.gmail.com Smtp_port: Port 465 (SSL required) Port 587 (TLS required) Thank you. Sincerely, Hemant K. Sabat Coscend Communications Solutions Web site: www.Coscend.com ------------------------------------------------------------------ CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail Messages from Coscend Communications Solutions' posted at: http://www.Coscend.com/Terms_and_Conditions.html -----Original Message----- From: Daniel Baker [mailto:i...@collisiondetection.biz] Sent: Thursday, September 22, 2016 12:25 AM To: user@openmeetings.apache.org Subject: Emails not being sent from calender, password reset etc. Hi, I can't get any emails sent from OpenMeetings. Ubuntu 16.01 OpenMeetings Version: 3.1.2 Revision 1756072 Moodle: 3.1 Moodle Open Meeting's Module : Release 2.0.0.5 ERROR: Last Errorcom.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout 30000; nested exception is: java.net.ConnectException: Connection refused at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2100) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699) at javax.mail.Service.connect(Service.java:366) at javax.mail.Service.connect(Service.java:246) at javax.mail.Service.connect(Service.java:195) at javax.mail.Transport.send0(Transport.java:254) at javax.mail.Transport.send(Transport.java:124) at org.apache.openmeetings.core.mail.MailHandler$2.run(MailHandler.java:240) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:329) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2066) ... 10 more Is there a way to configure this inside OpenMeeting ? Thanks, Dan ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7797 / Virus Database: 4656/13061 - Release Date: 09/22/16