Microsoft Exchange
There are two popular ways in which people integrate
MailArchiva with Exchange. They are:
1) IMAP Journalling -
MailArchiva is configured to retrieve emails from MS Exchange using IMAP (
MailArchiva has a built in IMAP client optimized for archiving)
2) SMTP Forwarding - Exchange is configured to push emails to
MailArchiva's inbuilt SMTP server
Both of these methods are discussed below.
Exchange Configuration
a) On the server running Microsoft Exchange, using the Active Directory Users and Computers browser, create a Windows user account where all incoming and outgoing mail will be temporarily archived. This account must reside on your company’s domain (i.e. not a local machine account).
b) On the same server, run the System Manager Application included with Microsoft Exchange. Locate the Mailbox Store node in the tree view on the left. It is in Servers->First Storage Group->Mailbox Store. Right click the Mailbox Store object and click Properties. A dialog will appear as in Figure 2. Click Browse and enter “journal” for the object name. Click OK. Journaling is now enabled for the Mailbox Store.
c) If you are using Exchange 2000/2003,
i) Install the latest Service Pack ii) Download the Exejcfg.exe utility from Microsoft’s Download Center
To enable envelope journaling, from command prompt, type:
Exejcfg –e
Enable Journalling in MailArchiva
a) In the Journal Accounts menu of the
MailArchiva server console configuration screen, click Add Journal Account Connection and do the following:
i) Select IMAP as the preferred protocol
ii) Enter the server address of your Exchange server
iii) Enter the Microsoft Exchange journal account username and password
iv) For the connection Mode, select TLS when available (on some versions of MS Exchange you will need to select SSL)
v) Ensure Auth Certs is unchecked.
vi) Enable/Disable IMAP Idle (depending on preferences)
Note: In iii) This is the JOURNAL account you are adding, not individual user mailboxes!
Setting Up In a Clustered Environment
if you run MS Exchange in a clustered environment, you will need to add the IMAP resource to your cluster.
1) Open the ‘Cluster Admin’ console
2) Click on the Exchange Resource Group
3) Click File -> New -> Resource in the Menu.
4) Enter a friendly name for the IMAP4 server
5) Select "Microsoft Exchange IMAP4 Server" In the ‘Resource Type’ field
6) Ensure that the Exchange Resource is in the ‘Resource Group’ field.
7) Add the Nodes which you like to own the Resource, Click Next.
8) Add the Exchange System Attendant dependency to the Resource. Click Next.
9) Select the IMAP4 Instance as the Resource.
10) Make the resource online.
11) Configure
MailArchiva to retrieve e-mails as above using the MS Exchange IP, not the cluster IP.
SMTP Journalling Approach
To create the SMTP contact:
1) Open Active Directory Users and Computers.
2) Right-click the organizational unit in which you want to create the contact, point to New, and then click Contact.
3) Enter the following:
First Name:
MailArchiva Last Name: Archive Display Name:
MailArchiva Archive.
4) Click OK.
5) Open the Exchange Management Console on the Mailbox server.
6) Expand Recipient Configuration, right-click Mail Contact, and then click New Mail Contact.
7) Click Existing Contact, browse to and select the
MailArchiva Archive contact you just created, then click OK.
8) Click Next.
9) For the External Email Address field, click Edit, enter the SMTP
MailArchiva archive email address (
archive@mailarchiva.server.com), then click OK. mailarchiva.server.com must be FQDN. i.e. it must ping from Exchange server, and SMTP connector must be setup to listen 25 port
10) Click Next, then click New.
To configure the message format settings for the SMTP contact in Exchange 2007 SP1:
1) Open your Exchange Management Console.
2) Expand Recipient Configuration, then select Mail Contact.
3) In the result pane, select the SMTP contact.
4) In the action pane, under the SMTP contact, click Properties.
5) On the General tab, from the Use MAPI rich text format list, select Never.
With this setting, journal reports are sent in MIME rather than S/TNEF.
To enable standard journaling:
1) Open the Exchange Management Console on the Mailbox server on which you want to enable journaling.
2) Expand Server Configuration, then click Mailbox.
3) In the result pane, select the server for the mailbox database for which you want to enable journaling.
4) In the work pane, right-click the mailbox database, then click Properties.
5) On the General tab, select Journal Recipient.
6) For Journal Recipient, click Browse, select the
MailArchiva archive recipient, then click OK.
7. Click OK.
--
TWikiGuest - 07 Dec 2007