Re: trivial enhancement to tmda.

"Todd A. Jacobs" <[email protected]>
Newsgroups gmane.mail.spam.tmda.devel
Message-ID <[email protected]>
On Wed, Oct 12, 2005 at 07:11:44PM -0400, Mike Meyer wrote:

> unique - or at least highly unlikely to be repeated - address might be
> usefull. It took about five minutes to generate the attached patch to
> tmda-address, adding a "-u --unique" option to generate a unique
> keyword addres.

Wouldn't you get more randomness with the random module, or perhaps even
a truncated hash of your time/PID string? I'm not sure how likely a
collision is with your method; it may be small enough not to matter. :)

-- 
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.