# Manual address blacklist

This screen enables you to set up a list of sender addresses which you wish to blacklist. Any addresses sent from these addresses will be silently discarded.

## Manual Address Blacklist

No block actions defined at the current time

Block: |  |

If you have blocks in place that have been created either using the Webmail system or using the standard configuration options from the menu interface on __SERVICE__ then when you enter this screen they will be listed, as in the example below.

## Automatic Mail Filtering

1. BLOCK: Blocking all messages from "spammer" at "spamdomain.com". Remove this block.
2. BLOCK: Blocking all messages from "noone" at "nowhere.com". Remove this block.

Block: |  |

If you have filters created using the advanced configuration option from the menu interface on __SERVICE__ then your filters should continue to be maintained in that way. Consequently the screen will not display the list of existing filters. Instead the following message will be shown:

> Error: Manually maintained .forward file?

## Adding a filter

### Entering the address

Blocks are on the envelope sender address (a copy of which appears in the message as a header "Return-Path") address rather than the more obvious "From:". These two headers frequently have the same value, however this is rarely the case with junk email. Mailing lists often alter the Return-Path address to something that is specific to the list. You can find the "Return-Path:" for a particular message by using Show Hdrs on the message display screen.

The following wildcards can be used:-

> '?' matches a single character
> '*' matches any number of characters

Hence the following are all valid entries:-

> spammer@spamdomain.com
> *@jiscmail.ac.uk
> ?art?

If an invalid address is been provided the status message will provide information. For example if you enter just `Spammer` will result in the status line entry

Status: Invalid filter: Not a valid __SERVICE__ account and no domain provided

and the invalid entry will be cleared from the entry field.

### The effect of the Add filter button

When you select the Add filter button, the status message will change to

Status: Added BLOCK filter

and the list will be updated to display the new block.

## Removing a block

To remove a block simply select the link Remove this block by the relevant filter. The status message will change to show which filter was removed, for example

Status: Removed block number: 1

and the block list will be updated on screen.