Add metadata to the Bayesian filtering process, allowing the Bayesian filters to learn information based on countries.
warden --task=antispam:plugin:relaycountry
Option |
Value | Default | Description |
---|---|---|---|
--relaycountry_bad_countries |
<string1,string2> | If an email is relayed though any of these countries then apply the RELAYCOUNTRY_BAD score to them. |
|
--relaycountry_bad_countries_add |
<string> | Add a single entry to relaycountry_bad_countries. | |
--relaycountry_bad_countries_del |
<string> | Remove a single entry from relaycountry_bad_countries. | |
--relaycountry_bad_score |
<int> | 3.25 | The score to give any country matching the bad countries. |
--relaycountry_good_countries |
<string1,string2> | If an email is relayed though any of these countries then apply the RELAYCOUNTRY_GOOD score to them. |
|
--relaycountry_good_countries_add |
<string> | Add a single entry to relaycountry_good_countries. | |
--relaycountry_good_countries_del |
<string> | Remove a single entry from relaycountry_good_countries. | |
--relaycountry_good_score |
<int> | -0.5 | The score to give any country matching the good countries. |
--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 relaycountry_bad_countries
warden --task=antispam:plugin:relaycountry --relaycountry_bad_countries='cn,bg,by' --reload=yes
// reset relaycountry_bad_countries to its default value
warden --task=antispam:plugin:relaycountry --default_option=relaycountry_bad_countries --reload=yes
// reset all settings to their default values
warden --task=antispam:plugin:relaycountry --default=yes --reload=yes