Watermarking, what does it actually consist of ...

Matt Hampton spamlists at coders.co.uk
Fri May 23 08:50:18 IST 2008

Mikael Syska wrote:
> What is the watermark contructed of, I know it contains the some kind
> of MD5 hash of the watermarking "secret" and some kind of timestamp
> ...
Hi Mikael

return Digest::MD5::md5_base64(join("\$\%", $expiry, $email, $date, 
$secret, $msgid));

so you end up with the base64 md5 of

"12346678$%sender at domain.com$%12345678$%S3cret$%<Message-Id-Header>"

The only problem I see is converting the date in to a unix time stamp...


More information about the MailScanner mailing list