[exim-dev] [Bug 722] New: Need a random number generator

Top Page
Delete this message
Reply to this message
Author: Roman Odaisky
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 722] Need a random number generator
Subject: [exim-dev] [Bug 722] New: Need a random number generator
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=722
Summary: Need a random number generator
Product: Exim
Version: N/A
Platform: All
OS/Version: All
Status: NEW
Severity: wishlist
Priority: high
Component: String expansion
AssignedTo: nigel@???
ReportedBy: to.roma.from.eximbug@???
CC: exim-dev@???


An RNG has many applications. There are places where load balancing cannot be
achieved by standard Exim means, and other uses also.

For example, I need to fakereject a small random sample of spam for learning. I
need to have Exim bind to a random interface when sending outgoing messages.
Cryptographically signed return paths need random seeding.

A simple $rand, or $rand{MIN}{MAX}, would do the job quite well. Workarounds
like ($tod_epoch+$pid)%N, ${perl}, ${run}, ${readfile{/dev/urandom}} have
obvious problems.

TIA, Roman.


-- 
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email