Rich Shepard wrote:
On Thu, 7 Aug 2008, Stan Hoeppner wrote:
Is the CIDR file a plain text flat file?
Stan,
Yes. A representative line:
222.111.0.0/12 550 Rejected IP address.
Thank you. I knew what it's supposed to look like on the inside to
start out with. I was just unsure if it needed to look like something
else before being ingested by Postfix.
Do I need to run any commands against it to do the binary conversions or
is that something Postfix does automatically on the fly?
Yes:
check_client_access cidr:/etc/postfix/badip,
Oh, heheh. No, I meant like do I need to be running postmap on it from
the command line kinda scenario, like with the access file.
I.e., can I just edit my access file, converting the dotted doubles,
triples, and quads to CIDR slash notation, and use it as my CIDR file?
Yup. That's what I did.
Again, thanks much Rich.