Horde error : SMTP: Failed to write to socket

Sometimes while sending email from Horde, it takes long time to load and at the end it shows the error message given below.

Horde error :Failed to set sender: user@emailaddress.com [SMTP: Failed to write to socket: not connected (code: -1, response: )]

Given below are the two parameters in CSF configuration file (/etc/csf/csf.conf) that should be checked.

1. Ensure that “SMTP_ALLOWLOCAL” is enabled in CSF configuration file. It should be enabled if you want to allow local connections to port 25 on the server (e.g. for webmail or web scripts).


2. Ensure that “SMTP_ALLOWLOCAL” has the value “1”.

If these options are not enabled, enable them and restart CSF using the command given below.

/etc/init.d/csf restart

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: