Resolved email send getting errors (but not collecting)

Status
Not open for further replies.

philx107

New Member
Messages
29
Reaction score
1
Points
3
Sent an email this morning (via Gmail for mydomain.com not x10) and got an error message. Up to today it's all worked fine.

Error message when I go into settings says "Server returned an error: "TLS Negotiation failed, the certificate doesn't match the host., code: 0"

I haven't changed anything today (apart from updating php to 7.3 and then back to 7.0) and incoming is working fine.

I've updated the password via the x10 backend and put that back in my Gmail settings but it still isn't working. Tested a sendmail via webmail via the x10 backend and that worked (although landed in Spam).

Checked my SMTP report via control panel and saw this message;
'JY Rspamd should be on but was skipped for some reason..' Not sure this is relevant.

So, what's the issue? I cant see it?
 
Last edited:

philx107

New Member
Messages
29
Reaction score
1
Points
3
Ok, I have found this;

upload_2020-4-15_15-23-38.png


Anna - can you guys help?

And what would my 'canonical name' be for my SMTP settings?
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
Google is checking that the email comes from the server that it says it comes from, and it checks to make sure the certificate from the server sending the mail is valid and matches the server FQDN. Because [yoursite].x10.mx does not have a valid SSL certificate, you can't send mail from your site to Google. You would need to send outgoing SSL SMTP through [your server].x10hosting.com because this server will have SSL enabled and the certificate will match. Your server is x11.x10hosting.com . I think it may work to send mail through x10's server to GMail. I don't think connecting to mail.google.com from PHP will work unless you have an SSL certificate because PHP will send the headers from [your site].x10.mx and not x11.x10hosting.com, so there will not be a matched certificate and server. You can try it, but that's how I read the post you have attached.

Please let me know if using x11.x10hosting.com makes a difference for sending mail.
 

philx107

New Member
Messages
29
Reaction score
1
Points
3
Hi Garrett

Thanks for the reply.

I'm not sending to/from Google Im simply using Gmail to collect and send via. My setting for the smtp is mail.mydomain.com at 657. it all worked fine until yesterday ! so should i change that, and if so to what?
 

Anna

I am just me
Staff member
Messages
11,750
Reaction score
581
Points
113
If I recall right, non secure smtp uses port 25.

The other option is to do as Garret says and use the server hostname in the settings rather then your own domain.
 

philx107

New Member
Messages
29
Reaction score
1
Points
3
please can you confirm what I use as both my SMTP server details (currently mail.mydomain.com) and also do i still use my email address (me@mydomain.com) as my log in?
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
I recommend using secure SMTP, but if you use non-secure SMTP use

user: me@mydomain.com
server: mydomain.com
port: 25
SSL: no

If you use secure, then

user: me@mydomain.com
server: x11.x10hosting.com
port: 587
SSL: TLS
 
Status
Not open for further replies.
Top