E-mai Filters

Attention: open in a new window. PrintE-mail

There are a number of ways in which spam or junk mail can be kept to a minimum. It is almost impossible to eliminate spam entirely and it is essential to ensure that spam control is not so severe that important e-mails are lost. Here we deal with filters. See the section for Spam Asassin for even more powerful methods of dealing with spam.

Some ways of spam control are:

  • Using spam control on the server hosting your e-mail on the internet.
  • Using your e-mail program filters.
  • Using filters on the Zybert server.
  • Using Anti-Spam Control on the Zybert server.

Mail Filtering on the Zybert Server

Login to the server administration, go to e-mail...aliases and scroll down to Incoming Mail Filter Rules. These rules are used for mail collected from external mailboxes.

Add new rule

The drop down box (red arrow) under Field gives the options To, From or Subject and determines the part of the e-mail that is examined for the text to be filtered.

The Text to find is where you enter the text you wish to filter and as well as anything else, may contain a part or full e-mail address. The Deliver To should list local users, local aliases or full email addresses (comma separated). For example robert,richard,fred.

If the mail is addressed to a user fred on your server, it will automatically be delivered to user fred when it is retrieved from the external mailbox.You only need to enter rules here if this is not what you would like to happen, that is you do not want it to go to fred even though it is addressed to him.

The alias is treated as a text to search for in the selected field, not as exact match. Therefore if you set it to look for amazon in the From field, you will redirect all mail, from all users, on all amazon sites.

If the Deliver to field contains the word ignoret he filtered mail is never delivered.
If more than one rule produces a match mail is delivered to all destinations. You may change this using the Only flag. When checked, then - if it matches - all other matches are ignored.



The field If a recipient is not found deliver to: may contain a user on the system who can deal with unknown users or misspelled names.

It is strongly recommended not to put the word bounce here. The problem is that spam that is addressed to non-existent users is often bounced back to none-existent senders, which may then bounce it back leading to a continuous loop. This is a real killer for internet traffic and should be avoided.


Add new rule

If incoming mail is addressed to your company, then it is delivered to your local users. You may also allow addresses other than your company, to be delivered locally. One reason an e-mail addressed to another company may come to your company, is that people can have multiple external mailboxes with completely different email addresses and these other companies are what will appear in the To field quite legitimately.

In this case put the domain in the 'Text to find:' field as above and save.