Does Exim have a random number generator? If not could this feature be
added to the wish list, please?
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
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
On Tue, Jan 10, 2006 at 03:08:08PM +, Ian Eiloart wrote:
Does Exim have a random number generator? If not could this feature be
added to the wish list, please?
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.
--On 10 January 2006 15:14:22 + Tony Finch [EMAIL PROTECTED] wrote:
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
Ian Eiloart wrote:
Does Exim have a random number generator?
Recent versions have the modulo operator, so you can build yourself a poor
man's RNG:
${if eq{${eval:($tod_epoch+$pid)%2}}{0}}
will give you true with a 50% (= 0.5 = reciprocal value of 2) chance (over
a sufficent long period).
--On 10 January 2006 17:11:16 +0100 Jakob Hirsch [EMAIL PROTECTED] wrote:
Ian Eiloart wrote:
Does Exim have a random number generator?
Recent versions have the modulo operator, so you can build yourself a poor
man's RNG:
${if eq{${eval:($tod_epoch+$pid)%2}}{0}}
will give you true with a