User Tools

Site Tools


reference:spamrules_statement_getmd5

This is an old revision of the document!


Spam Filter Rules: GetMD5

Statement GetMD5
Version 2.3.6+
Purpose Performs an MD5 hash on a string, and returns the result into the specified variable in hex encoded form

The GetMD5 statement requires a string and variable name, in the format

GetMD5 <string> <variable name>

Example

The following example will take “hello ” plus the contents of the ${myvar} variable, perform an MD5 hash on it, and put the result into the ${myMD5Hash} variable

GetMD5 "hello ${myvar}" myMD5Hash
reference/spamrules_statement_getmd5.1314178164.txt.gz · Last modified: 2018/11/14 10:44 (external edit)