Kill / Want Editor


 

If you want to add several patterns at once into Kill or Want files, or you wish to remove existing patterns, you can click on "Edit KillFile..." or "Edit WantFile..." on Kill / Want Window to start Kill / Want Editor. With this editor can view and edit the contents of the kill and want files directly. The window looks like this:

 

KillEdit.gif  

 

The Drop-Down list lets you select whether you want to view kill (or want) patterns matching FileName, Subject or From headers. On the right of the drop-down list you can see how many patterns there currently are, and how many states in the state machine algorithm that BNR uses for matching are currently used. (The maximum allowed number of states is about 16.7 million).

 

The filename matching patterns might contain a special numeric range indicator (like "<1-9>", which means any number between 1 and 9, inclusive). This is used internally by BNR when adding full sets of filenames, do not use this syntax directly when adding filename patterns.

 

Using the buttons

 

By clicking on "Add ..." button you can add new patterns using the Kill / Want Window. You can remove the selected patterns by clicking on "Remove".

 

With "Import" you can import patterns from KillFile.ini (or WantFile.ini) that were used in a previous version of BNR. In the future this feature will support importing from other formats as well.

 

With "Help" you get this help page and with "Close" you can close the editor window. If you made some changes to the patterns, KillCheck will be re-run.

 

Format of KillFile.ini and WantFile.ini

 

With a previous version of BNR patterns for the Kill filter were saved in "KillFile.ini" in a standard ini file format. Similarly patterns for the Want filter were saved in "WantFile.ini". With the import feature you can read the patterns from these files into current BNR killfiles and wantfiles. The ini files have separate sections for each of the Filename, Subject and From patterns, and each of the patterns are stored as key values with the key name like Value##. The ordering and numbering of the keys has no meaning other than to avoid duplicate keys. An example of a KillFile.ini:

 

[Subject]

Value1=*BNR*

Value2=Re:*

 

[Filename]

Value1=1234h0??.jpg

Value2=*.gif

 

[From]

Value1=nobody@nowhere

Value2=spammer@spamhost

 

 



home.gif