Allow Remote SMTP Server in Firewall


Issue as seen here: MCE-923-53639

When customer trying to configure SMTP connection to remote server from their script, they will get timeout error because we have blocked it on our firewall end.

For example:

 

Could not access file: SMTP -> ERROR: Failed to connect to server: Connection timed out (110)

 

Solution:

 

#vi /etc/csf/csf.conf

Look for SMTP_ALLOWUSER

Then add the cpanel username into it. Something like below:

SMTP_ALLOWUSER = "advgeo,cpanel,shihaome"

After that restart csf

#csf -r