Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

CSF Blocking Gmail SMTP email sending

Problem:
Your VPS server or scripts are configured to send email using GMail's SMTP but emails are not sent or you get an SMTP Error when trying to configure.

Solution:
You must allow these IP addresses on your csf (ConfigServer Security & Firewall) on WHM:

74.125.0.0/16

You have to allow outgoing traffic to ports 25, 465, 587. You should actually be fine enabling only the one you will connect to. So:

sudo vim /etc/csf/csf.conf

add 25,465,587 to TCP_OUT, and to TCP6_OUT if you use IPv6.

You might also need to remove that ports from SMTP_PORTS if you have SMTP_BLOCK enabled (if it is set to 1).

Cette réponse était-elle pertinente?

Articles connexes

Find spam script location with Exim

Sometimes you can have a "tell a friend" feature on your website, or other type of email...

How to change the primary IP addres of a WHM/cPanel server

This is for CentOS/RHEL based servers. Steps in WHM: Log into WHM and go to Basic cPanel...

How to change file/folder permissions in linux cent os

Using SSH (Putty) > Login as root enter the following code to Change all permissions for...

clamAV installed, but not working on the command line and appears to not be installed

On 11.40+ You may try to install ClamAV and then see it have problems when trying to run on...

Exim Remove All messages From the Mail Queue

Question: I'm using Exim mail server under CentOS Linux. How do I remove all messages from the...

Powered by WHMCompleteSolution