CSF Blocking Gmail Inbound Emails again

Post Reply
joegold
Junior Member
Posts: 11
Joined: 07 Jul 2021, 22:12

CSF Blocking Gmail Inbound Emails again

Post by joegold »

I'm having another issue with CSF blocking inbound emails from Gmail. I logged into multiple gmail accounts and tried to send email to one of our servers and the emails are never received. After I disable CSF firewall i can then receive email from all 3 gmail accounts. I flushed all IP blocks, and added Googles entire IP block 209.85.166.0/255 to CSF ignore. Restarted CSF and still CSF is blocking email. The email never even hits the spam rules.

Any ideas on how to fix this?
Sergio
Junior Member
Posts: 1685
Joined: 12 Dec 2006, 14:56

Re: CSF Blocking Gmail Inbound Emails again

Post by Sergio »

Are you sure that you are writing the right CIDR?
i don't think so.
You say "and added Googles entire IP block 209.85.166.0/255" that CIDR is not good, if what you wanted was to white list all the IPs from 209.85.166.0 up to 209.85.166.255 you should have to write:

209.85.166.0/24 this is the right way.

But just in case you need the list of google CIDRs per IP range, it is an old list but you can re search it agin in google:

Based on what the DIG command reports back, as of September 2017 the public Gmail IP address ranges currently include:
64.18.0.0/20
64.233.160.0/19
66.102.0.0/20
66.249.80.0/20
72.14.192.0/18
74.125.0.0/16
108.177.8.0/21
108.177.96.0/19
172.217.0.0/19
173.194.0.0/16
207.126.144.0/20
209.85.128.0/17 <<<< ------ To this IP range belongs the sub set that I wrote you above: 209.85.166.0/24
216.58.192.0/19
216.239.32.0/19
Post Reply