Re: [exim] Random numbers

Inizio della pagina
Delete this message
Reply to this message
Autore: Tony Finch
Data:  
To: Ian Eiloart
CC: exim-users
Oggetto: Re: [exim] Random numbers
On Tue, 10 Jan 2006, Ian Eiloart wrote:
>
> I'd like to be able to fakereject a random sample of spam, in order that I can
> examine the kind of stuff that we're rejecting. For example, I'd like to see a
> random sample of about 0.1% of the spam that we're rejecting from DNSBLists.


I've used Exim's hashing functions to get pseudo-random samples of
incoming email. See
http://www-uxsup.csx.cam.ac.uk/~fanf2/hermes/doc/talks/2005-02-eximconf/paper.html#5.2.%20Scanner%20testing

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}