Linux.com

Home Linux Community Community Blogs General Linux How to reject spam from certain countries

How to reject spam from certain countries

Every now and then, a question like this pops up on some email server management forum:

I’d like to be able to reject connections from remote IP addresses if they’re from certain countries.

I have reformatted some tips on how to do this on this page. Feedback is very welcome.

 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
    Details
  2. LFD320 Linux Kernel Internals and Debugging
    08 Jun » 12 Jun - San Jose - CA + Virtual (GUARANTEED TO RUN)
    Details
  3. LFD411 Embedded Linux Development
    08 Jun » 12 Jun - North Reading, MA (GUARANTEED TO RUN)
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board