A collaborative, networked system to detect and block spam using identifying digests of messages.
warden --task=antispam:plugin:pyzor
Option |
Value | Default | Description |
---|---|---|---|
--use_pyzor |
<1|0> | 1 | Whether to use Pyzor, if it is available. |
--pyzor_fork |
<1|0> | 0 | Instead of running Pyzor synchronously, fork separate process for it and read the results in later (similar to async DNS lookups). Increases throughput. |
--pyzor_count_min |
<digit> | 5 | This option sets how often a messages body checksum must have been reported to the Pyzor server before SpamAssassin will consider the Pyzor check as matched. |
--pyzor_welcomelist_min |
<digit> | 10 | This option sets how often a messages body checksum must have been whitelisted to the Pyzor server for SpamAssassin to consider ignoring the result. Final decision is made by pyzor_welcomelist_factor. |
--pyzor_welcomelist_factor |
<int> | 0.2 | Ignore Pyzor result if REPORTCOUNT x NUMBER >= pyzor_welcomelist_min. For default setting this means: 50 reports requires 10 whitelistings. |
--pyzor_timeout |
<digit> | 10 | How many seconds you wait for Pyzor to complete, before scanning continues without the Pyzor results. A numeric value is optionally suffixed by a time unit (s, m, h, d, w, indicating seconds (default), minutes, hours, days, weeks). |
--pyzor_path |
<string> | /usr/bin/pyzor | This option tells SpamAssassin specifically where to find the pyzor client instead of relying on SpamAssassin to find it in the current PATH. |
--pyzor_options |
<string> | --homedir /etc/mail/spamassassin/.pyzor | Specify additional options to the pyzor command. 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 pyzor_timeout
warden --task=antispam:plugin:pyzor --pyzor_timeout=5 --reload=yes
// reset pyzor_timeout to its default value
warden --task=antispam:plugin:pyzor --default_option=pyzor_timeout --reload=yes
// reset all settings to their default values
warden --task=antispam:plugin:pyzor --default=yes --reload=yes