Jump to content

SMTP not working on Prestashop 1.6


Krio

Recommended Posts

Hello so I've been having troubles with the SMTP email thing

 

  • Hotmail SMTP server name: smtp.live.com
  • Hotmail SMTP user name: your Hotmail account
  • Hotmail SMTP password: your Hotmail password
  • Hotmail SMTP port: 25 or 465

 

everything is set GOOD, when I try it with gmail I can't do it I have to PAY lol and with hotmail and laposte it says:

Error : Please check your configuration
The SMTP connection failed to start [ smtp.laposte.net:25 ] : fsockopen returned Error Number 110 and Error String ' Connection timed out '

Link to comment
Share on other sites

port 25 is probably blocked by firewall rules.  port 465 would be used for SSL security, so make sure you use SSL and port 465 at the same time. 

 

If you receive Error 110 using SSL and port 465, it means that it is also being blocked by a firewall, so you will need to have your hosting provider assist you with that

Link to comment
Share on other sites

port 25 is probably blocked by firewall rules.  port 465 would be used for SSL security, so make sure you use SSL and port 465 at the same time. 

 

If you receive Error 110 using SSL and port 465, it means that it is also being blocked by a firewall, so you will need to have your hosting provider assist you with that

Hello thank you for your aswer here what it says

 

Error : Please check your configuration

The SMTP connection failed to start [ssl : //smtp.laposte.net : 465 ] : fsockopen returned Error Number 0 and Error String ''

Link to comment
Share on other sites

upgrade to PS v1.6.1.5 which will include a new SwiftMailer library that should correct that issue.

 

However, you may want to test that first.  I would suggest creating a test store in a subfolder using PS v1.6.1.5 and confirm it works first

Link to comment
Share on other sites

upgrade to PS v1.6.1.5 which will include a new SwiftMailer library that should correct that issue.

 

However, you may want to test that first.  I would suggest creating a test store in a subfolder using PS v1.6.1.5 and confirm it works first

So I did the update but now it says

 

 

Erreur : veuillez vérifier votre configuration

Connection could not be established with host smtp.live.com [Connection timed out #110]

Error : Please check your configuration Connection couldn't be Established with host smtp.live.com [ Connection timed out # 110]

Link to comment
Share on other sites

  • 2 years later...

Well,  the firewall isn't blocking 465 and when I disable ufw we still get Error 110 using SSL and port 465 .

Also,  when we allow 25 we still get Error 110 using No Encryption  or SSL.

No configuration works

I'm at my wits end with this and need help please:  Willing to pay for someone to fix it..

Quote

ufw status verbose
Status: active
To                         Action      From
--                         ------      ----
22/tcp (OpenSSH)           ALLOW IN    Anywhere
80,443/tcp (Nginx Full)    ALLOW IN    Anywhere
80/tcp (Nginx HTTP)        ALLOW IN    Anywhere
443/tcp (Nginx HTTPS)      ALLOW IN    Anywhere
443/tcp (Apache Secure)    ALLOW IN    Anywhere
80,443/tcp (Apache Full)   ALLOW IN    Anywhere
80/tcp (Apache)            ALLOW IN    Anywhere
465/tcp                    ALLOW IN    Anywhere
25/tcp (Postfix)           ALLOW IN    Anywhere

22/tcp (OpenSSH (v6))      ALLOW IN    Anywhere (v6)
80,443/tcp (Nginx Full (v6)) ALLOW IN    Anywhere (v6)
80/tcp (Nginx HTTP (v6))   ALLOW IN    Anywhere (v6)
443/tcp (Nginx HTTPS (v6)) ALLOW IN    Anywhere (v6)
443/tcp (Apache Secure (v6)) ALLOW IN    Anywhere (v6)
80,443/tcp (Apache Full (v6)) ALLOW IN    Anywhere (v6)
80/tcp (Apache (v6))       ALLOW IN    Anywhere (v6)
465/tcp (v6)               ALLOW IN    Anywhere (v6)
25/tcp (Postfix (v6))      ALLOW IN    Anywhere (v6)

Quote

cat /var/log/mail.log
Feb 27 01:55:06 xxxxx postfix/smtp[1183]: 5842362A25: to=<me@live.com>, relay=none, delay=5076, delays=5017/0.07/59/0, dsn=4.4.1, status=deferred (connect to live-com.olc.protection.outlook.com[104.47.0.33]:25: Connection timed out)

Quote

lsof -iTCP -sTCP:LISTEN | grep master
master    1158            root   13u  IPv4  19519      0t0  TCP *:smtp (LISTEN)
master    1158            root   14u  IPv6  19520      0t0  TCP *:smtp (LISTEN)
master    1158            root   18u  IPv4  19544      0t0  TCP *:submission (LISTEN)
master    1158            root   19u  IPv6  19545      0t0  TCP *:submission (LISTEN)
master    1158            root   22u  IPv4  19550      0t0  TCP *:urd (LISTEN)
master    1158            root   23u  IPv6  19551      0t0  TCP *:urd (LISTEN)

Quote

grep -riH "465" *
applications.d/postfix:ports=465/tcp
user.rules:### tuple ### allow tcp 465 0.0.0.0/0 any 0.0.0.0/0 in
user.rules:-A ufw-user-input -p tcp --dport 465 -j ACCEPT
user6.rules:### tuple ### allow tcp 465 ::/0 any ::/0 in
user6.rules:-A ufw6-user-input -p tcp --dport 465 -j ACCEPT

So from this line: "[104.47.0.33]:25: " it looks like mail is still using port 25 !?
And I am guessing  the following line means that port 465 is actually not associated with Postfix?
465/tcp                    ALLOW IN    Anywhere
25/tcp (Postfix)           ALLOW IN    Anywhere

Regardless, as a test,   Even  with the firewall DISABLED, Port 25 not blocked,  we still cannot get Prestashop emails to work!
Tested all port/Encryption combinations,  no luck.
So it cannot be a firewall issue?

 

Edited by remoteONE (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...