-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move enabled filter list to the config file, add support for custom filter types, updated the configuration.
- Loading branch information
Justus Winter
committed
Oct 15, 2011
1 parent
f19a015
commit c3775e8
Showing
4 changed files
with
104 additions
and
14 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,29 @@ | ||
# global configuration | ||
[global] | ||
|
||
# This is the default filter chain | ||
#[SpamFilter] | ||
#[ClassifyingFilter] | ||
#[KillThreadsFilter] | ||
#[ListMailsFilter] | ||
#[ArchiveSentMailsFilter] | ||
#[InboxFilter] | ||
|
||
# Let's say you like the SpamFilter, but it is way too polite | ||
|
||
# 1. create an filter object and customize it | ||
#[SpamFilter.0] # note the index | ||
#message = meh | ||
|
||
# 2. create a new type and... | ||
#[ShitFilter(SpamFilter)] | ||
#message = I hatez teh spam! | ||
|
||
# create an object or two... | ||
#[ShitFilter.0] | ||
#[ShitFilter.1] | ||
#message = Me hatez it too. | ||
|
||
# 3. drop a custom filter type in ~/.config/afew/ | ||
# TODO: implement this | ||
# and create objects of this kind |
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