Another secret of CleanMail's flexibility is the highly versatile filter pipeline. It is designed to provide an open interface that allows integrating third-party tools, such as tools for email classification, automated mail processing, server-based email encryption, or virus detection.
CleanMail submits incoming mail to a series of mail filters, the so-called filter pipeline. Examples of mail filters are the built-in attachment filter, third-party virus checkers, or SpamAssassin.
Each filter analyzes the message and returns a result deciding how a mail is further processed. Messages can be delivered, tagged as junk, deleted, or redirected to another account.
A sophisticated scheduler allows some filters to execute at the same time in parallel, while others are executed sequentially. The filter order matters: To help conserve resources and to increase throughput, filters lower down in the filter pipeline are not invoked if an earlier filter has already decided that a mail should be deleted.
CleanMail can be configured as a proxy server for SMTP (CleanMail Server version only) and POP3. In this configuration, it accepts incoming SMTP or POP3 connections and forwards all requests to your existing mail software while scanning incoming mail for spam or viruses. This has several benefits:
CleanMail never accepts mails on its own volition, it always makes sure a mail has been accepted by your mail software before acknowledging a successful mail transmission.
The best place to stop SPAM is before it hits your SMTP server. Always prefer filtering mail at the SMTP level, for two reasons:
CleanMail provides a lot of different Mail Filtering Policies, which enables each customer to configure it according to their respective corporate policies.
A POP3 connector is a POP3 to SMTP protocol adapter. CleanMail's built-in POP3 Connector can be used to retrieve messages from a POP3 server, and forward these messages (after filtering) to a mail account on your SMTP server.
The forwarding process implements a safe transaction scheme: Only mails completely transmitted and accepted by the SMTP mail server are deleted from the POP3 mailbox. Mails not forwarded (ie. spam messsages, if you choose to delete spam messages) are just deleted and never enter your mail server.
Usually, CleanMail is a proxy only for a single mail server. Some users have more than one mail server and may want to filter mail for many servers and domains. CleanMail allows to configure an unlimited number of SMTP/POP3 proxy ports (or POP3 connectors). Each proxy has its own incoming and outgoing server settings and each has its own filter pipeline. You can use this to configure each proxy separately and adapt it to your needs.