HomePhorge
Diffusion kolab a4534ed6c24f

Greylist/Request: simplify logic

Description

Greylist/Request: simplify logic

Summary:

  • There can only every be one entry for the sender/recipient/net pair (due to the unique constraint)
  • We already verify in the beginning that we have an entry within the last 7 days (and otherwise purge all entries), so it can't be older than a month.

Differential Revision: https://git.kolab.org/D2845

Details

Provenance
mollekopfAuthored on Aug 27 2021, 11:49 AM
mollekopfPushed on Aug 27 2021, 12:00 PM
Differential Revision
D2845: Greylist/Request simplify logic
Parents
rKb869129bc47a: Greylist/Request: Avoid unnecessary queries
Branches
Unknown
Tags
Unknown
Build Status
Buildable 36511