Table of Contents

3. Mail Server Architecture

3.1. Generic Server Configuration

3.1.1. Running Services

3.1.2. Other Generic Server Parameters

3.1.3. DNR Settings

3.2. Services and Modules

3.2.1. SMTP Receiving

3.2.2. Processing

3.2.3. SMTP Sending

3.2.4. POP3

3.2.5. IMAP

3.2.6. Logging

3.2.7. Reporting

3.2.7.1. Reporting Parameters

3.2.8. WebMail

3.2.9. Storage

3.2.10. FTP Backup Service

3.2.11. RPOP Service

3.3. Connectivity and Threading

3.3.1. Listeners

3.3.2. Rules

3.3.3. Threads

3.4. Clustering Support

3.4.1. Cluster Overview

3.4.1.1. LDAP Introduction

3.4.1.1.1. Basic Directory Setup

3.4.1.1.2. LDAP Entry Structure

3.4.1.1.3. LDAP Authentication

3.4.1.2. AXIGEN Mapping System

3.4.1.3. AXIGEN Authentication System

3.4.1.4. AXIGEN Front-End Services Setup

3.4.1.4.1. The SMTP Proxy

3.4.1.4.2. The IMAP and POP3 Proxies

3.4.1.4.3. The WebMail Proxy

3.4.1.4.4. Mapping Setup

3.4.1.5. AXIGEN Back-End Services Setup

3.4.2. LDAP Routing

3.4.2.1. Configuring Mapping Parameters

3.4.2.2. POP3 Proxy Service

3.4.2.3. IMAP Proxy Service

3.4.2.4. Webmail Proxy Service

3.4.3. AXIGEN LDAP Authentication

3.4.4. Integrating Active Directory into a cluster environment

3.4.5. Exotic Cluster Setups

3.5. Groupware and collaboration

3.5.1. Personal Organizer & AXIGEN Outlook Connector

3.5.2. Folders and permissions

3.2.2. Processing

The Processing module manages the mail messages, transmitted from the SMTP Incoming and WebMail modules, in the AXIGEN Queue and delivers them to AXIGEN Storage (for local delivery) and to the SMTP Sending module (for external delivery).

Processing Module



The processing module interacts with:
  1. the IMAP module uses the AXIGEN Processing module for Append operations executed on mailboxes;
  2. the WebMail module uses the AXIGEN Processing module for Compose operations (after the message is composed, it is placed in AXIGEN Queue);

Logging

All AXIGEN main services can log different types of events. The system administrator can specify what events are logged, where and how they are logged.

See Logging service for more details on logging in AXIGEN.

Email Delivery

In case message can not be delivered for some non-critical reason, it can be re-scheduled, meaning AXIGEN will try to re-send it after a defined time interval is elapsed. AXIGEN mail scheduling feature can be adjusted in terms of: first delivery retry timeout for an email, stop doubling retry timeout when it reaches and max. number of retries.

Delivery Reports

Temporary and permanent delivery error reports can be configured to be sent automatically when reaching a number of failed delivery attempts. The message can be customized by setting a specific notification sender, subject, beginning and ending body, or appending variables. Also the headers or even the entire original message can be set to be attached to your notification.

Queue Parameters

The messages received from SMTP clients are stored in a queue that is processed by AXIGEN according to specific rules. Different operations can be executed on this queue, such as inspecting the queue, specifying/modifying the path where the queue is stored,
setting the maximum number of queue subdirectories, processing size (number of messages) and number of local delivery threads for local SMTP transactions.

Note: Currently any change in the parameters specific to the Processing module requires a sever restart to become effective.

Message statuses

A message in the queue can have one of the following statuses:
  • Incoming: The message is currently being received. It has not been treated in either way by AXIGEN. 
  • Received: The email has been received. No action has been taken on it yet.
  • Processing: Message processing is underway.
  • Processed: The email processing ended, successfully or not. If the message is successfully processed, the next specific action (for instance delivery) specified for the message is carried out. If the email processing ends unsuccessfully, the message remains in Processed status.
  • Sending: The process of sending the message is underway.
  • Send Failure: The email sending failed.
  • Sent: The message has been sent.
  • Raw received: The email was received from the WebMail module.
  • Relay error: The SMTP Sending module did not manage to send the message to the addressing server.
  • Local error: The SMTP Sending module did not manage to send the email to the AXIGEN Storage.
  • Filter reject: The message was rejected by a configured filter.
  • Filter discard: The email was deleted by a filter without any notification.
  • Cleanup error: The NDR message could not be send to the sender.
  • New mail: The email has just arrived in the queue.
  • Removed: The message was deleted.
  • IO Error: The message could not be read from the disk.
For more details on how to configure Processing parameters using WebAdmin see Processing Tab.