k9mail/k-9 — pull request #148 by Yogu (2012-05-15 21:29:43+00:00)
Title: Simple blacklist spam filter

If the IMAP server does not provide a spam filter, there is currently no way to avoid continuous notifications when spam arrives. To solve this problem, I implemented a simple blacklist-based spam filter extension to K-9.

Shortly after I posted this extension on my website, I received eleven visits coming from a google search for "k-9 spam filter", so I think this feature is requested by users.

The filter is disabled by default and can be enabled in the account options. If enabled, mails moved to the spam folder are declared as spam and their sender addresses are added to the blacklist. On the other hand, mails moved out from the spam folder to another location are assumed not to be spam; their sender address is removed from the blacklist. The blacklist can be easily edited in the account preferences.

Currently, the preferences are only translated into German and English.