Table of Contents

6. Working with the WebMail Module in AXIGEN

6.1. Accessing/Leaving the WebMail Interface

6.2. Navigating in Your WebMail Account

6.3. Working with Messages in WebMail

6.4. WebMail Folders

6.5. Working with the Personal Organizer in WebMail

6.5.1. Working with your Calendar

6.5.2. Working with your Journal

6.5.3. Working with your Notes

6.5.4. Working with your Tasks

6.6. Configuring Account Settings in WebMail

6.6.1. Configuring Personal Data

6.6.2. WebMail Data Settings

6.6.3. Mail Filtering in WebMail

6.6.3.1. WebMail Filters Overview

6.6.4. Setting Sharing Permissions

6.6.5. Configuring WebMail RPOP Connections

6.6.6. WebMail Account Information

6.6.7. WebMail Blacklist

6.6.8. Requesting Temporary Email Addresses

6.6.3.1. WebMail Filters Overview

The mail filtering features allow users to create named filters and specify actions to be taken on the matching messages.  A filter is composed of a set of 'filtering expressions' or "expressions" and a set of actions.

An expression (filtering expression) is composed of a header name, an operator and an optional value. The expression can be applied to a mail message and will give a matching/unmatching response.

A filter contains the following:
  • Name
  • Priority
  • Enabled/Disabled state
  • ExpressionOperator: operator to compose multiple filtering expressions (And/Or)
  • Expressions
  • Actions
A (filtering) expression contains the following
  • Header: the mail message header the expression to witch the matching criteria will be applied
  • Operator: operator specific to the header type
  • Value(optional): a value that the operator may need (depends on the operator)

Supported Headers/Operators/Values


Header(s) Supported operators
(negated or not)
Supported values Comments
Subject
To
To or Cc
Cc
Custom
Contains
Is
Begins with
Ends with
String When Custom is selected the name of the custom header must be specified.
From Contains
Is
Begins with
Ends with
String  
Size Is greater than
Is lower than
String describing size, e.g.:
 
1024 (bytes)

1K (1 kilobyte = 2^10 bytes

1M (1 megabyte = 2^20 bytes)

1.4G (1.4 gygabytes = 1.4 * 2^30 bytes)
 

Action Data


Action Data Type Description
Move to string The path to the location is given as UTF8
Copy to string The path to the location is given as UTF8
Delete
(move to trash)
(none) (none) The message will be moved to trash.
Forward to email address The message will be forwarded to the given email address. No copy will be saved.
Vacation days number mininum > 0
maximum > 7 (must)
maximum > 30 (should)
if omitted, days defaults to 7 or minimum (whichever is greater)
if given value > maximum, days defaults to maximum
if given value < minimum, days defaults to minimum
  subject string (utf8) Alternate subject for response.
If not given, the incoming mail's subject is used
  text string (utf8) Body of the response message.

Filter Container


The FilterContainer is responsible for serializing an ordered collection of filters into a file and for parsing a sieve script that contains one or more filters.

The parts of the scripts that are not recognized are stored as raw text in memory. When doing the serialization, the container will reorder the scripts. The ones that were edited by WebMail will be written at the beginning of the file while all 'raw' scripts will be written at the end.

A script is recognized as being a WebMail script if:
  • contains only directives that have been implemented in WebMail filters
  • has a header with the following data:
    • Name: user specified string
    • Id: internal integer to uniquely identify the script
    • Position: integer used for ordering the scripts
    • Enabled: boolean
If the script has a header but has been edited by hand to contain other directives it is rejected and put into the raw scripts collection.

If the script does not have a header but can be handled as a WebMail script it will be given an auto-generated id, a last position in the list and an auto-generated name.