On 14 May 2019, at 11:41, @lbutlr <krem...@kreme.com> wrote:
> Has anyone implemented geo based restrictions for postfix login connections, 
> or is this something that needs to be done in dovecot?

This seemed to work pretty well

pfctl -t badguys -T add $(cat block.zone)

I can then flush and add when the CIDR file is updated.

block.zone is the combination of several countries from ipdeny.com and some 
other bad actors that have been problems in the past.

-- 
The whole thing that makes a mathematician's life worthwhile is
that he gets the grudging admiration of three or four colleagues


Reply via email to