Re: [exim] Random numbers

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tony Finch
Data:  
Para: Ian Eiloart
CC: exim-users
Asunto: 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}}