Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Determining how successful milter-greylist is?

2013-04-08 by Jim Klimov

On 2013-04-08 05:20, Thomas Cameron wrote:
> Howdy -
>
> I've just implemented milter-greylist again, and I was curious as to
> whether there is any reporting available. I'd like to know how many or
> what percentage of messages get dumped by milter-greylist.
>
> Anyone got any tips or tricks for doing that?

The greylisting database file (/var/milter-greylist/greylist.db or
somesuch in your system), should contain the current list of addresses
in both grey and auto-white stages. For the tool to be effective, you
should also pick and use a DNS RBL resource to verify that the source
addresses which did pass to auto-whiting are not yet well-known spam
sources.

Then you can see something like this:

# tail /var/milter-greylist/greylist.db
...
# Summary: 4488 records, 4336 greylisted, 152 whitelisted

Here, of 4.5k source hosts over the past few days (3 days or whatever
your limit is) only 150 were not known spam sources and did try twice
and were accepted to next stages in spam-filtering or mail delivery ;)

HTH,
//Jim Klimov

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.