-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
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.
abpei
Metadata
Metadata
Assignees
Labels
No labels