SMTP Error (-1): Connection to server failed

Started by Dipak Bhoi, July 06, 2015, 02:28:30 PM

Previous topic - Next topic

Dipak Bhoi

Hello folks,

One of our client was facing an issue while sending an emails from his VPS. He was receiving below error:

QuoteSMTP Error (-1): Connection to server failed

There are multiple possibilities for this error. To resolve this follow below instruction.

1. First check the exim status.

Quote# service exim status
exim dead but subsys locked

If you received this status then restart or start the exim service.

Quote#service exim start

2. If the above steps didn't work then try the following steps.

Sometimes this error may also cause due to a setting in the CSF firewall or another firewall. It might be caused by having the following set:

QuoteSMTP_BLOCK = 1
SMTP_ALLOWLOCAL = 0
You would need to change SMTP_ALLOWLOCAL to 1 to enable Webmail to function.

That's all, enjoy !! :) ;)
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.