Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : SMTP connect() failed.

1


Threaded Mode | Print  

 SMTP connect() failed. (34 Replies, Read 20598 times)
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
In wordpress with Easy SMTP Plugin I am getting

SMTP connect() failed.

Control Panel Webuzo
PHP 7.1
Mysql 56
Please guide me
HOw to send SMTP authentic mail
IP: --   

Wordpress - SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
This if off topic!

This is an issue regarding managing of your Wordpress installation and mail. However I suggest to use the plug-in Easy SMTP than you need know how manage and configure correctly email.

First of all maybe for send email without errors you need a valid certificate for emails. Is a lot of time that I do not test to send email with an email that use a self signed certificate or STARTTLS.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
I am already using EASY SMTP.

Please help me.
I am using Letus SSL
What os do ?

2017-03-31 06:26:50    Connection: opening to ssl://xxx.com:587, timeout=300, options=array (
                                        )
2017-03-31 06:26:50    Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
                                        error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2017-03-31 06:26:50    Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): Failed to enable crypto
2017-03-31 06:26:50    Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://xxx.com:587 (Unknown error)
2017-03-31 06:26:50    SMTP ERROR: Failed to connect to server:  (0)
2017-03-31 06:26:50    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
:P  Oh sorry you are right. You are already using this. I was cnfusing with another plug-n so Easy SMTP is ok.

You can try to start a chat with me by following the link on my footer than I can see if I can help you better. Here is very difficult :)


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
I was confused and give to you the wrong SMTP plug-in.

You should use SMTP Mailer


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Hi,
I AM unable to help you with this. Please as you are a Premium user open a ticket here https://www.softaculous.com/support/

Thank you!


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Hi,
maybe all is set now but you need change your SSH hostname into your main domain name. This can be the issue of the certificate not accepted.

Issue can be different, hope Webuzo Team will able to help you with that issue.  :xd:  I foghet that in my server my hostname has been changed for be qualified with the certificate.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
Created a support ticket as well as email has been sent.
Now waiting.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
This is fine but you can try to change your hostname to be the same of the hostname you put on email. this can fix your issue. Just a suggestion before Webuzo will see your ticket tomorrow or in next days. For today working time of Webuzo is almost ended


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
In which file I have to change.
Please guide me in detail.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Hi, 7 minutes of queue sorry. I accept your chat and you was leaved out. Please try again to chat with me :) and give more time for reply to your chat request, thank you! Maximum waiting time is 15 minutes.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
After all I think now issue is in your Exim.
I will inform Webuzo so they can look at your ticket.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
First of all thanks for great support to Marco Borla.

Please tell Webuzo all scene.
As you now very much better then all
that where is the problem.
Waiting for nice resolution with problem reason also.
Please clear solution and problem,
So that other users also can be benefited here in future.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
You are not the only one customer that have issue with email.
I said many time to Webuzo team to improve email by adding Antivirus and Antispam protection. I AM waiting that since 3 years. Maybe (but not sure) I will see in the future email protection, auto responders, etc

Webuzo team in all this time has fixed different issue I reported and that's great! Also in the security they fix. I report and they fix so this is very great.

Your case was:
You asked to be able to use email SMTP in Wordpress. For do that is necessary a valid certificate because now the new PHP is checking the security of the connection.

Webuzo have to see if in the future can use Let's Encrypt for generate and use a valid certificate for email and set all to the maximum securty than user has few step to do... actually as you seen I spent more than a day for configure email in your case and I had not enough time to fix your issue after many hours of work.

Now I informed Webuzo about your case (but you are not the only one that have issue with relay not permitted and SSL on email)

Your Exim is to remove so once in Webuzo should be used the box on top for searching Exim, unistall than reinstall and once done this exim.conf should be customized for use SSL of let's Encrypt.

I had already customized dovecot for use your let's encrypt certificate and also hostname of your server has been changed for have the same name used by emails.

After edit of Exim relay not permitted should be resolved. Now your SSL on email works fine. I configured your email on Thunderbird and was able to send and receive email ... the error "relay not permitted" is present when you try to send an email to an external address and this is the last things to fix for your case. Once this is fixed you will be able to configure the plugin SMTP Mailer.

Finally I suggested this plugin as EasySMTP has gived issues in the past, do not know if now is fixed and SMTP Mailer give logs of what is happening (debug), connection or error info.

Hear you soon. Today Webuzo Team is offline and will be also tomorrow. If you need help I AM here.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
Exim has been reinstalled.
Now waiting to be customized it.
So that we can use SMTP Auth with SSL(Let us Encrypt) .
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
If you want we can try fix this before Monday. You can try to contact me again. I think the solution is very near. All is inside Exim configuration now.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Hi m25252727
please check you private message here.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
I sent an email because in private message I cannot attach files. Check your email inbox, thank you!


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
Send you an email.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Sorry, at the moment I have not received it. Be sure that will not turn back to you with Delivery status notification. Thanks


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Your email relay not permitted error has been solved.
Now there are an issue in your server that I think create issue also when you try to use SMTP in Wordpress.

You need solve the error: 50X error occurred when you open the FileManager.
Maybe this will fix also your SMTP Wordpress issue.

Webuzo Team can help you on fix this error with File Manager.

I had loosed remote connection with you and at the moment seems I AM unable to connect with you again.
When you are trying to connect by SMTP on Wordpress you receved this error :
stream_socket_client(): Failed to enable crypto?

So maybe ask to Webuzo team if this can be related to the error of File Manager or if can be some issue with Socket. Your email are wroking correctly and your PHP file is set correctly to work with your SMTP settings.,.. so maybe you need first solve the server issue than try again and see.

Please update your ticket with Webuzo by explain that Exim issue, mail issue was resolved.
Now issue is in the File Manager. You need fix this issue than try again to use SMTP in your Wordpress once you are able to use the File Manager and Web FTP.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Hi,

Today I can confirm you will be not able to send email by SMTP in Wordpress and different PHP script if you do not use for example comodo positive SSL.

Let's encrypt not work with SMTP email.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Now I AM trying to help Webuzo Team to solve the Let's Encrypt email issue.
https://community.letsencrypt.org/t/support-of-vps-or-server-email-certificate/32990/23


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
When this is resolved, Please inform me also.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Quote From : m25252727 May 15, 2017, 6:22 am
When this is resolved, Please inform me also.


Yes, I will try to keep you updated, maybe also Webuzo Team can do the same. At the moment no solution has been found for let's Encrypt but we are discussing in Let's Encrypt Community... I also hope developers who implemented the Let's Encrypt on Webuzo will look into this issue.

Web and Mail configuration maybe are two things separated.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
The Let's Encrypt discussion is located here:
https://community.letsencrypt.org/t/lets-encrypt-is-not-working-in-php-for-smtp-mail-in-webuzo-panel/32990/14
and is going on.

At the moment the only fix I know for have SMTP working is to buy a Positive SLL certificate.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
Ok.
Can We use gmail as our smtp server.
It is possible ?
In this case we are using ssl of gmail.
Thanks in advance.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Quote From : m25252727 May 15, 2017, 8:58 am
Ok.
Can We use gmail as our smtp server.
It is possible ?
In this case we are using ssl of gmail.
Thanks in advance.


mmmm you can try and this should work but PHP has to be configured correctly. You can look at the web for configure your PHP version to use SMTP gmail.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
means not work with PHP 71
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
I don't know as I use my domain email and Positive SSL. You have to try, if not work you need google search how configure php 7.1 and gmail.

PHP has changed the way email works from the version 5.6 so you can be unable to send email if the certificate or configuration are not correct. :)


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
If I use gmail as smtp server, then also role of SSL Cert  ?
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
I have domain without ssl and want to use gmail as SMTP server
or
even sending mail by gmail mail
Is it possible at webuzo
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Quote From : m25252727 May 15, 2017, 9:06 am
If I use gmail as smtp server, then also role of SSL Cert  ?


Yes, will be checked the Gmail certificate. You can read more here: http://php.net/manual/en/migration56.openssl.php


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

SMTP connect() failed.
m25252727
Group: Member
Post Group: Newbie
Posts: 24
Status:
If I switch to php 56, then Is it work ?
If yes, please guide me something.
IP: --   

SMTP connect() failed.
peopleinside
Group: Member
Post Group: Super Member
Posts: 1391
Status:

Open source, web and security passionate
Hi,
I AM sorry to inform you that I cannot manage your server for you.
I will try to post here as soon an update regarding let's Encrypt will be.

Regarding your SMTP issue I can just suggest to you to look into internet as you are the manager of your server. Seems to me that you prefer post here instead on looking for a solution on Google  :P  if you have chosed to manage a server you should try more and more before post here ... to fix common issue by doing a Google search.

I AM happy to help but when I see user are really unable to find a solution also on the Internet.

I AM busy, I have also my server issue to fix and much other things to do :) I AM just an user here who try to help in his free time. I AM happy to see you have started to manage a server, my suggestion is to look more into Google.

Seems you have no idea on how PHP is changing and work... try to read more on the web :) have you searched how to configure PHP 7.1 and SMTP of Google?

Have you tried to configure SMTP Google before posting here again? :)
My suggestion is to try :) you will learn also by you to manage things :)

Now I have to go for today, sorry.
Wish you all the best time!

See you,m asap I have update about let's encrypt issue.  :P


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 15, 2021, 11:27 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:2.640