I can't send any email.
I gives the error after try to send email:
Failed to set sender: info@emailaddress.be [SMTP: Failed to write to socket: not connected (code: -1, response: )]
What to do?? how to fix?
Thanks and regards,
Dave.
I can't send any email.
I gives the error after try to send email:
Failed to set sender: info@emailaddress.be [SMTP: Failed to write to socket: not connected (code: -1, response: )]
What to do?? how to fix?
Thanks and regards,
Dave.
Are you running CSF on the machine? If so, please check WHM > Plugins > ConfigServer Security&Firewall > Firewall Configuration file. In that file, ensure that "SMTP_ALLOWLOCAL" has a 1 next to it. If it does not, change to 1 and click the "Change" button, then restart CSF and LFD.
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Forums Technical Analyst, cPanel Tech Support
Submit a ticket | Check an existing ticket
Hello,
Also check "SMTP_Block" and Change SMTP_Block to 0, restart firewall.
Thanks.
Is your issue resolved ??
You do not need to change SMTP_BLOCK to 0 if you have SMTP_ALLOWLOCAL with a 1. The purpose of SMTP_ALLOWLOCAL is to allow the webmail clients to still send when SMTP_BLOCK has a 1 in CSF.
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Forums Technical Analyst, cPanel Tech Support
Submit a ticket | Check an existing ticket
I had this exact issue.
I had csf installed.
I set SMTP_ALLOWLOCAL to 1 and SMTP_BLOCK to 1 and now everything works
Thanks for the thread - saved me hours of time.
Hi, I just join the forum as i wish to say BIG THANK YOU for all memebres! This forum is great and I've had the exactly the same issue with sending mails. Solution was correct also in my case. Thisi is not the first time I've found help on this forum. Hope I'll help somebody else next time! Keep going!