A Filter is the core of the decision making in Spam Liquidator. A filter decides on a per-mail basis whether the message should be downloaded or not. A pipeline of filters is setup (yes, again setup in the configuration) and a message, which needs to be downloaded, is passed through this pipeline.
At any point of the pipeline, a filter could indicate that the message should not be processed through the pipeline anymore. For example a SPAM filter (sender based) could find a match from the list of spammers it has and reject the message.
There are two kinds of filters -- global and local. These are not an attribute of a filter itself, but rather depend on the usage of a filter. Local filters are associated to a mail drop whereas global filters are applicable to all mail drops. For example, you might want a Message-ID filter to be applicable to all mail drops whereas keep a sender-based filter only for the mail drop where you expect mail from that sender.
A filter has the single job of deciding whether or not to download a single message. The actual decision of whether to download a mail or not is made through a sequence of filters. There can be a global set of filters as well as a per mail drop one. A mail drop represents your mailbox from which you want to download your mail.
In this project we define totally four filters. But we can define more than that number of filters as our requirements. In this project our focus is on main and basic filters like Null Filter, Sender Mail Filter, Size Mail Filter and Subject Mail Filter.
spam -
0 comments:
Post a Comment