Archiving Emails from MDaemon

Revision as of 07:45, 20 May 2010 by Admin (talk | contribs) (Created page with 'Simple Setup – Archiving all new mail sent through MDaemon The first stage to setting up a mail archive is to take a copy of all new e-mail that passes through MDaemon which in…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Simple Setup – Archiving all new mail sent through MDaemon The first stage to setting up a mail archive is to take a copy of all new e-mail that passes through MDaemon which includes all inbound and outbound email. This email is copied within MDaemon and put into a MailStore mailbox, Mailstore is then configured to collect this mail and archive it based on the MDaemon user that was sending or receiving the original email. Within Mailstore each user will be assigned an ‘Inbox’ and a ‘Sent Items’ folder to archive their email.

Setup Archive account in MDaemon

The first stage to archiving email is to create a new Account in MDaemon, This account will be used to store a copy of all email to be archived.

  1. Add a new account by selecting Accounts -> New Account
  2. Name the account ‘mailstore’ and assign a strong password
  3. Untick all access other than IMAP and choose ok

BILD

Configuring Content filter to copy all email to be archived

To correctly take a copy of all email to and from a specific domain on your MDaemon server we must configure a content filter rule

  1. Open the content filter editor by selecting Security -> Content Filter
  2. Choose New rule
  3. Name the rule ‘Mailstore Archive’
  4. Tick the Condition ‘For ALL Messages’
  5. Tick the Actions ‘Copy the Message to Folder’
  6. Click on blue ‘Specify information’. Now locate the user folder for the Mailstore account you have created. On a default installation this would be c:\MDaemon\Users\mycompany.com\mailstore
    BILD
  7. Choose OK to save the Content filter rule.

Avoid archiving of spam messages =

  1. If you don’t want to archive Spam email you can add an extra condition to the content filter. Add the condition ‘If the SPAM score is equal to’. Click on the blue ‘=0’ in the summary window and change this to ‘Less than equal to’ and ‘5’. And choose ok.
    BILD
  2. In the content filter rule change the ‘or’ to an ‘and’. The rule should now look like this...
    BILD

This rule will only archive messages that are not scored as spam ( 5 is the default score for spam messages in MDaemon).