Configure User specific Filters for MPE's Mail Services

Each user has the opportunity to preprocess his incoming mail stream by a filter. Usual applications are:

Calling the Filter Editor

Login to [https://mpemail.mpe.mpg.de/tpl MPE mail user interface https://mail.mpe.mpg.de/tpl] and choose menu 'Edit Filter'

Remark:

the standard filter as a example

The standard filter contents is copied automatically to a new user's environment. Take this contents as a template to construct your personal filter. Feel free to comment or discomment the given lines in order to enable/disable functionalities.

#Exim filterBR #BR #if $header_from: contains "myimportantfromaddress" thenBR #save /home/virtual_mail/$local_part/BR #finishBR #endifBR

#if $h_x-spam-level: begins "********" thenBR #seen finishBR #endifBR #BR

if $h_x-spam-level: begins "****" then BR save /home/virtual_mail/$local_part/.Spam/BR endifBR #BR

#if $h_from: contains "virusalert@rzg.mpg.de" thenBR #seen finishBR #endifBR

Please note that the first line has to begin with a '#Exim filter' line. The filter is read sequential from up to down.

commands and variables

BR The sequence save /home/virtual_mail/$local_part/.xxx is a important statement in the filter which tells exim to store the acutal email in the named folder, in this case the folder xxx and not in the default inbox. For the foldername you can use any name. The folder is created automatically in case it is not available. Notify the dot before the foldername. The rest of the pass is binding and expresses the real path on the mail server. $local_part always contains your username.

further information for writing filters can be found in the [http://www.exim.org/exim-html-current/doc/html/filter.html exim filter specs]