Does anybody knows if there is any way to add network definitions in bulk? In the CLI, I mean. I can't find any place where the definitions are stored.
Hi, they're stored in a PostGreSQL database, and there's no documented way to load in bulk. Please take a look at the feature request at Export / import definitions and add a vote.
This is a huge benefit in Sendmail (or postfix...).
I export the LACNIC, APNIC, country, ISP range...anything in fact, and using simple text manipulation I can quickly assimilate various IP ranges to block.
a.b.c.d - w.x.y.z REJECT : for example
Either a documented procedure, or GUI is welcomed.
Hi Bob, some of us want to block things other than smtp from certain countries. e.g. I see a LOT of scans and worms from China which I don't really need filling up my logs etc., and would rather keep the hackers off our website entirely in case they were to find an SQL injection problem etc. (our site is for local businesses, so residents of foreign countries would have little use for it.)