antispam:learning:ignore

Configure the spam filter learning ignore settings.

warden --task=antispam:learning:ignore
Option
Value Default Description
--bayes_ignore_from <string1,string2> Bayesian classification and autolearning will not be performed on mail from the listed addresses. Program sa-learn will also ignore the listed addresses if it is invoked using the --use-ignores option. One or more addresses can be listed, see whitelist_from. Spam messages from certain senders may contain many words that frequently occur in ham. For example, one might read messages from a preferred bookstore but also get unwanted spam messages from other bookstores. If the unwanted messages are learned as spam then any messages discussing books, including the preferred bookstore and antiquarian messages would be in danger of being marked as spam. The addresses of the annoying bookstores would be listed. (Assuming they were halfway legitimate and did not send you mail through myriad affiliates.) Those who have pieces of spam in legitimate messages or otherwise receive ham messages containing potentially spammy words might fear that some spam messages might be in danger of being marked as ham. The addresses of the spam mailing lists, correspondents, etc. would be listed.
--bayes_ignore_from_add <string> Add a single entry to bayes_ignore_from.
--bayes_ignore_from_del <string> Remove a single entry from bayes_ignore_from.
--bayes_ignore_to <string1,string2> Bayesian classification and autolearning will not be performed on mail to the listed addresses. See bayes_ignore_from for details.
--bayes_ignore_to_add <string> Add a single entry to bayes_ignore_to.
--bayes_ignore_to_del <string> Remove a single entry from bayes_ignore_to.
--bayes_ignore_header <string1,string2> If you receive mail filtered by upstream mail systems, like a spam-filtering ISP or mailing list, and that service adds new headers (as most of them do), these headers may provide inappropriate cues to the Bayesian classifier, allowing it to take a "short cut". To avoid this, list the headers using this setting.
--bayes_ignore_header_add <string> Add a single entry to bayes_ignore_header.
--bayes_ignore_header_del <string> Remove a single entry from bayes_ignore_header.
--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 bayes_ignore_from
warden --task=antispam:learning:ignore --bayes_ignore_from='test1@example.com,test2@example.com' --reload=yes

// add a single entry to bayes_ignore_from
warden --task=antispam:learning:ignore -bayes_ignore_from_add='test3@example.com' --reload=yes

// delete a single entry from bayes_ignore_from
warden --task=antispam:learning:ignore -bayes_ignore_from_del='test3@example.com' --reload=yes

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