Complete the
MailArchiva Installation as described in the
MailArchiva Administration Guide. The
MailArchiva Administration Guide is included in the
MailArchiva Download package.
-- Configuring
NeonInsight Server --
NeonInsight will use what is commonly called a
CopyAll ,
AlwaysBCC , or Journaling account to deliver email to
MailArchiva.
1) Create an account within your domain to act as a
CopyAll account. All email will be copied to this account for later pickup by the
MailArchiva server.
Ie:
archiver-a1@example.net
2) Open /opt/neonInsight/etc/neon/neonconfig.xml with a text editor:
Find the item which defines the “From-Amavis” service, edit the copyall-address on this item. Specifying the user you created above.
Before:
copyall-addresses=""
After:
copyall-addresses=”archiver-a1@example.net”
Note: Specifying the copyall-address on the From-Amavis listener ensures that emails are not Archived until they have passed Amavis. If you have configured your server not to use Amavis you may wish to specify the copyall-address on another item instead.
3) Save the File, then Restart neon
neonInsight shell
/etc/init.d/neon restart
-- Configuring
MailArchiva --
There are at minimum three configuration tasks that need to be performed before the
MailArchiva server is ready to start archiving e-mails:
(a) set an encryption password
(b) create one volume
(c) add your local domains.
This whitepaper will cover these three configuration task in the "Basic
MailArchiva Configuration" section, for details configuration instructions see Chapter 8 of the
MailArchiva Administration Guide.
--Basic
MailArchiva Configuration--
1) Using the default admin username and password of "admin" login to the
MailArchiva web console at
http://localhost:8090/mailarchiva
2) Click configuration at the top of the screen
3) Click the "Volumes" tab.
4) Enter a password for "Email Encryption Password"
5) Click "New Volume" See the
MailArchiva Administration Guide for a full description of these options. Click Save when you are satisfied with your selection.
6) Click the "Domains" tab. Add each of your local domains.
--Configuring LDAP Authentication--
To configure
MailArchiva to authenticate with your
NeonInsight Server, you need to know the "neonInsight" account password.
You can discover your "neonInsight" password by executing the following command at your
NeonInsight Server's command line:
grep 'define name="ldap_pw"' /opt/neonInsight/etc/neon/neonconfig.xml
Example:
1) Click the Login tab
2) Select LDAP from Console Login Method.
3) Enter the hostname or IP address of your
NeonInsight Server in the "LDAP Server Address" field.
- Ie
- 192.168.30.31:389
4) In the "Service DN" field enter "cn=neonInsight"
5) In the "Service Account Password" field enter your “neonInsight” password you discovered above.
6) In the "Bind Attribute" field enter "mail"
7) In the "Email Attribute" field enter "mail"
8) Click "New Role Assignment"
9) In the "role" dropdown box select "administrator"
10) In the "LDAP Attribute" field enter "uid"
11) In the "Match Criterion" field enter "admin"
This defines LDAP objects with uid "admin" have the roll of Administrator on the
MailArchiva server.
12) Click "New Role Assignment"
13) In the “role” dropdown box select “user”
14) In the "LDAP Attribute" field enter "objectClass"
15) In the Match Criterion" field enter "neonPerson"
16) This defines LDAP objects with objectClass "neonPerson" will have the roll of user on the
MailArchiva server.
17) Click Save.
18)
-- Testing LDAP Authentication --
User role test:
19) 1) Click Test Login
2) Enter the email address of a user on your Insight Server.
3) Enter the password for that user.
4) Click Lookup
MailArchiva will return “Authentication success. Role user is assigned.”
Administrator role test:
1) Enter the email address of the manager on Insight Server.
2) Enter the password for the manager user.
3) Click Lookup
4)
MailArchiva will return “Authentication success. Role administrator is assigned.”
LDAP Authentication is now configured in
MailArchiva. When you next login to
MailArchiva as the Administrator you should use your
NeonInsight Server “admin” account and password.
-- Configuring
MailArchiva's Journal Account --
1) Click “Journal Accounts” tab
2) Click “New Journal Account”
3) Configure the IMAP settings for your
NeonInsight Server and the “archiver-a1” account.
--
JamieBand - 28 Apr 2009