How to add mail source in mail archiva

MailArchiva is a powerful email archiving and management tool. To add a mail source in MailArchiva, follow these steps:

Prerequisites:

  1. You have a MailArchiva installation up and running.
  2. You have a mail server (e.g., Exchange, IMAP, POP3) that you want to archive emails from.

Step 1: Create a new Mail Source

  1. Log in to your MailArchiva web interface.
  2. Click on the "Mail Sources" tab.
  3. Click on the "Add Mail Source" button.
  4. Fill in the required information:
    • Name: Give a name to your mail source (e.g., "Exchange Server").
    • Type: Select the type of mail server you're using (e.g., Exchange, IMAP, POP3).
    • Host: Enter the hostname or IP address of your mail server.
    • Port: Enter the port number used by your mail server (e.g., 143 for IMAP, 110 for POP3).
    • Username: Enter the username to use for authentication (e.g., an Exchange account).
    • Password: Enter the password for the specified username.
  5. Click "Save" to create the new mail source.

Step 2: Configure the Mail Source

  1. After creating the mail source, you'll need to configure it. Click on the "Configure" button next to the newly created mail source.
  2. Fill in the additional configuration options:
    • Protocol: Select the protocol used by your mail server (e.g., IMAP, POP3).
    • Authentication: Select the authentication method used by your mail server (e.g., username/password, Kerberos).
    • Folder: Enter the folder path where you want to store the archived emails (e.g., "INBOX").
    • Search: Enter the search query to use when archiving emails (e.g., "subject:important").
  3. Click "Save" to save the configuration changes.

Step 3: Start Archiving

  1. Once the mail source is configured, you can start archiving emails. Click on the "Start Archiving" button next to the mail source.
  2. MailArchiva will start archiving emails from the specified mail source.

That's it! You've successfully added a mail source in MailArchiva and started archiving emails.