This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A filter for [afew](https://afew.readthedocs.io/) that classifies spam | |
messages using bogofilter. | |
I couldn't figure out how to get bogofilter to integrate nicely with | |
offlineimap/notmuch/afew, so I decided to write it myself. It was | |
surprisingly easy, and perhaps this could inspire others to write their | |
own custom filters. If functionality grows more complex, I might | |
package this into a pip module via the `afew.filter` entry point. |