postgreyreport doesn't seem to work with subnet IP lookup. (I haven’t tried with the postgrey --lookup-by-host option enabled.)
The source of the problem seems to be that postgreyreport::do_client_substitutions differs from postgrey::do_client_substitutions. Specifically, the current version of postgrey appends /24 (or whatever the value of ipv4cidr is) to the subnet address, while postgreyreport does not.
As a result, postgreyreport::is_fatal_triplet fails to match the subnet keys in the database and always returns 1.
This might be a regression from #25.
postgreyreportdoesn't seem to work with subnet IP lookup. (I haven’t tried with the postgrey--lookup-by-hostoption enabled.)The source of the problem seems to be that
postgreyreport::do_client_substitutionsdiffers frompostgrey::do_client_substitutions. Specifically, the current version ofpostgreyappends/24(or whatever the value ofipv4cidris) to the subnet address, whilepostgreyreportdoes not.As a result,
postgreyreport::is_fatal_tripletfails to match the subnet keys in the database and always returns1.This might be a regression from #25.