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 |
<1|0> | 1 | Whether to use Razor2, if it is available. |
--razor_fork |
<1|0> | 0 | Instead of running Razor2 synchronously, fork separate process for it and read the results in later (similar to async DNS lookups). Increases throughput. (SA 4.0+) |
--razor_timeout |
<digit> | 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. |
--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. |
// set the razor_timeout
warden --task=antispam:plugin:razor2 --razor_timeout=10 --reload=yes
// reset razor_timeout to its default value
warden --task=antispam:plugin:razor2 --default_option=razor_timeout --reload=yes
// reset all settings to their default values
warden --task=antispam:plugin:razor2 --default=yes --reload=yes
// increase throughput by running Razor2 in a forked process
warden --task=antispam:plugin:razor2 --razor_fork=1 --razor_timeout=10 --reload=yes