antispam:plugin:razor2

A distributed, collaborative, spam detection and filtering network based on user submissions of spam.

warden --task=antispam:plugin:razor2
Option
Value Default Description
--use_razor2 <string> 1 Whether to use Razor2, if it is available.
--razor_timeout <string> 5 How many seconds you wait for Razor to complete before you go on without the results
--razor_config <string> /etc/mail/spamassassin/.razor/razor-agent.conf Full path to the razor configuration file. Please note that only characters in the range [0-9A-Za-z ,._/-] are allowed for security reasons.
--razor_fork <string> 0 Instead of running Razor2 synchronously, fork separate process for it and read the results in later (similar to async DNS lookups). Increases throughput.
--default <yes> Reset all settings to their default values.
--default_option <option> Reset a specific setting to its default value.
--reload <yes> Reload the service after saving settings.

Examples

// set the razor2_timeout
warden --task=antispam:plugin:razor2 --razor2_timeout='7 15' --reload=yes

// reset razor2_timeout to its default value
warden --task=antispam:plugin:razor2 --default_option=razor2_timeout --reload=yes

// reset all settings to their default values
warden --task=antispam:plugin:razor2 --default=yes --reload=yes

Related Pages