Detecting spam by phrases and addresses. Creating lists
You can create lists of allowed, blocked and obscene key phrases as well as lists of allowed and blocked sender addresses and the list of your addresses. If these lists are used, Anti-Spam analyzes every message to check if it contains the phrases added to the lists and the addresses of mail sender and recipients to check if they match the records in address lists. Once the sought phrase or address is found, Anti-Spam identifies such message as useful mail or spam depending upon the list where the phrase or address is present.
The following mail will be recognized as spam:
The following messages will be recognized as useful mail:
Masks for key phrases and sender addresses
You can use phrase masks in the lists of allowed, blocked and obscene phrases. The lists of allowed and blocked addresses, and the list of trusted addresses support address masks.
Mask is a template string that a phrase or an address is compared against. Certain symbols in a mask are used to represent others: * substitutes any sequence of characters, – any single character. If a mask uses such wildcards, it can match several phrases or addresses (see examples).
If the \* combination, the ? character should be represented as \? (e.g., What’s the time\?).or character is a part of the sought phrase (e.g., What’s the time?), it should be preceded with the character to ensure that Anti-Spam recognizes it correctly. Thus, instead of the character you should use in masks the
Sample phrase masks:
Examples of address masks: