Differences between revisions 9 and 10
Revision 9 as of 2007-05-25 10:22:46
Size: 2139
Editor: RainerSigl
Comment:
Revision 10 as of 2007-05-25 10:32:45
Size: 2144
Editor: RainerSigl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * putting mails from certain senders or with special subjects in a special folder  * putting mails from certain senders or with special subjects in different folders as inbox
Line 7: Line 7:
== Calling the Editor for Filters == == Calling the Filter Editor ==

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:

  • putting mails from certain senders or with special subjects in different folders as inbox
  • storing or dropping tagged Spam messages depending on the score

Calling the Filter Editor

Login in [https://mpemail.mpe.mpg.de/tpl MPE mailer user interface] and choose menue 'Edit Filter'

Remark:

  • Mailfolders are generated automatically
  • After finish editing a filter a syntax check is performed. If any errors a error message will be displayed and the old filter is not overwritten. The editor keeps your edited product.

the standard filter as a example

The standard filter is taken automatically if a new user is created. Take this contents as a template to construct your personal filter. Feel free to comment or discomment the given lines in order to enable functionalities.

PgSQLQuery(mydb, SELECT english_text FROM texts where id='filter')

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

commands and variables

  • $header_from
  • $header_subject
  • $sender_address The sender address that was received in the envelope of the message
  • $reply_address The contents of the Reply-to: header, if the message has one; otherwise the contents of the From: header.
  • $return_path The return path – that is, the sender field that will be transmitted as part of the message’s envelope if the message is sent to another host.

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.

IT: MailConfigFilters (last edited 2009-07-15 14:34:35 by localhost)