improve message ID generation: put together a string based on user-data
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Feb 2008 16:21:46 +0000 (16:21 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Feb 2008 16:21:46 +0000 (16:21 +0000)
commit49c7f4111d0e0bf2e8e5eb661fc869006c2db2e1
tree2cf814e3d7d904f7e29667e0b1a5b61c0b369819
parent2b883a9a246ee3fdb3c28ffb4e0bda830c0f3421
improve message ID generation: put together a string based on user-data
(username, IP, remote port), serial data (time in ms) and randomness,
and put this all through a one-way hash. This makes the chance on
collisions unrealistically small, and at the same time prevents all
kinds of trouble when some vars are not available or contain non-allowed
information (like IPv6 addresses).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12929 7612ce4b-ef26-0410-bec9-ea0150e637f0
class/deliver/Deliver.class.php