News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Emails can't be sent after Cloudflare installation

Started by lordmortimer, August 01, 2024, 10:10:56 AM

Previous topic - Next topic

lordmortimer

Hello

I installed Cloudflare a while ago and it successfully solved my bots and bandwidth issues, but now there's a new one: if the forum tries to send an email, I get these two errors:

Quotefsockopen(): unable to connect to hxxp:mail.mysite.it [nonactive]:465 (Network is unreachable)
QuoteUnable to connect to SMTP server: 101: network is unreachable

Help me, please.

vbgamer45

Make sure you mail.mysite.it is an A record with IP can't be masked for email with cloudflare
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

lordmortimer

Quote from: vbgamer45 on August 01, 2024, 10:39:11 AMMake sure you hxxp:mail.mysite.it [nonactive] is an A record with IP can't be masked for email with cloudflare
I tried, but I already have a CNAME record with the name, stating it's an alias of the home URL.

Kindred

You need cname AND A AND text/mx records these days
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

lordmortimer

Quote from: Kindred on August 01, 2024, 01:11:25 PMYou need cname AND A AND text/mx records these days
I solved the problem but I had to remove the "mail" CNAME record and modify the A one from  "webmail" (don't know why cloudflare created this one. I don't think there's anything like webmail.mysite) to "mail" and deactivate its proxy option.

Would this impact security? I installed cloudflare because of bot invasion, you see.

vbgamer45

It will help with bots yes. If your site was secure before cloudflare then no. If you are hiding your ip from people then no email/smtp will expose it if hosted on same server.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: