Jakob Hirsch wrote:
> Renaud, your cleaning solution deletes all entries older than 4 hours,
> which makes valid hosts going through greylisting again and again...
>
Humm, no.
Because if the mail is delivered sucessfully before 4 hours,
record_expires is updated:
GREYLIST_OK_NEWTIME = UPDATE GREYLIST_TABLE \
SET record_expires = DATE_ADD(now(), INTERVAL
GREYLIST_WHITE_LIFETIME) \
WHERE id = $acl_m9 AND type='AUTO'