Is there any possibility to block mails from country wise in Postfix. for Example I need to block all mails coming from China. Please let me know the process.
Thanks,
Vijay.G
LinuxEmail Servers
Last Comment
Vijay Kumar Gajula
8/22/2022 - Mon
Tim Edwards
Please take a look here, they were able to get this completed with Postfix:
Regardless of your postfix config, if you block via iptables rules, they won't be able to get mail or any other packets to your server...like bruteforce, etc.
is PFblocker is open source? can we install it in my mail server which is UBUNTU back-end. If So Please let me know the procedure.
Thanks
Natty Greg
Yes PFblocker is open source, however it only installs on PFsense from what I know and found. So maybe use PFsense as your firewall then you'll have all this functionality
http://freesoftware.zona-m.net/how-to-reject-spam-from-certain-countries-if-you-must-really-really-do-it/