Statement | DBUpdate |
---|---|
Version | 6.16+ |
Purpose | Updates a record in the spam filter database |
The DBUpdate statement requires a component name, key, operator and value, in the format
DBUpdate <component name> <key> <operator> <value>
Example
DBUpdate subject ${Subject} += 1
This will update a record for the 'subject' component with the key in the ${Subject} variable, by adding one to it. If the record does not exist, it will be created and set to '1'.
If the previous value was not numeric, it will be treated as if it was zero.