felix / gross

Greylisting of suspicious source (exported from code.google.com/p/gross)
Other
5 stars 0 forks source link

Add header line for clients in RBL #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What's the problem with the current implementation?

If a mail gets through, despite the greylisting, it still can be spam, 
especially if the client IP is present in a RBL. I use spamassassin to scrutiny 
all mails that get through, and part of that process is checking the RBL once 
again. This means the RBL checks are done twice -- by gross and by spamassassin.

What would you like to be done?

It would be useful if gross could add a line to the mail header stating the 
status -- either a mail getting through because it was not present in a RBL, or 
mail getting through because it was resend (while the client IP is listed in a 
RBL).

Currently, "action=dunno" is hardcoded in worker_postfix.c.
It would be great if I configure this to "prepend X-Gross: ....." with at least 
the number of hits (ideally I'd see the individual RBL, but that seem 
problematic.

I would prefer that there is a separate response for either STATUS_MATCH and 
STATUS_TRUST, where the response to the STATUS_MATCH should contain a count of 
the numner of matches.

Original issue reported on code.google.com by macfreek on 7 Nov 2012 at 10:19