email error : 110 Can’t open SMTP stream

[Total: 3    Average: 5/5]

If you are getting following error while sending emails from squirrelmail.

===========================
Message not sent. Server replied:

Connection timed out
110 Can’t open SMTP stream.

===========================
This problem usually occurs when CSF is installed on your server and it is interacting with the working of squirrel mail. So while configuring CSF enable both SMTP_BLOCK & SMTP_ALLOWLOCAL.

#vi /etc/csf/csf.conf

set

SMTP_BLOCK = ‘0’

restart csf and exim service