MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: SMTP Error (-1): Connection to server failed  (Read 3560 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
SMTP Error (-1): Connection to server failed
« on: July 06, 2015, 02:28:30 PM »
Hello folks,

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

Quote
SMTP 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:

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

That's all, enjoy !! :) ;)
MilesWeb.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum

SMTP Error (-1): Connection to server failed
« on: July 06, 2015, 02:28:30 PM »