Connect Exchange Server (on-premises)

What you need

  • Exchange Server 2013 or newer (on-premises)
  • Access to the Exchange admin center or the Exchange Management Shell
  • Your EasyMailArchive account

The transport rule archives all new messages continuously. Existing mail is imported separately over IMAP mailboxes (see below).

1. Copy the relay address

  1. Open Admin > Integrations.
  2. On the SMTP BCC relay card, click Set up.
  3. Copy Your relay address. It looks like {slug}-{token}@smtp.easymailarchive.com. The part after the hyphen is a token that differs for each tenant. Addresses without the token stop working after a short grace period.

2. Create the transport rule

In the Exchange admin center:

  1. Open Mail flow > Rules.
  2. Create a new rule, for example named "Archive".
  3. Apply it to all messages.
  4. As the action, choose Bcc the message to and enter the relay address.
  5. Save and enable the rule.

Or in the Exchange Management Shell:

New-TransportRule -Name "Archive" -BlindCopyTo "{slug}-{token}@smtp.easymailarchive.com"

Without further conditions, the rule applies to all messages.

3. Check outbound delivery

The copy goes to smtp.easymailarchive.com as normal external mail. Your Exchange must be able to deliver externally.

  1. Make sure a send connector reaches external addresses. This also applies if you use your provider's smarthost.
  2. The server or smarthost must be allowed to open outbound connections on port 25 to smtp.easymailarchive.com.
  3. The relay address needs no login.

4. Finish the setup

  1. In the SMTP BCC relay setup dialog, click Done.
  2. The message "SMTP BCC source created." confirms the source.

5. Test

  1. Send a test email with a unique subject from a mailbox to an external address.
  2. Send a second test email from outside to a mailbox.
  3. Search for the subject under Search.

How to verify the first archived mail: Verify your first archived email.

6. Import existing mail

The transport rule only captures new messages. Import older mail with IMAP mailboxes.

  1. Enable IMAP for the mailbox, for example with Set-CASMailbox -Identity [email protected] -ImapEnabled $true.
  2. Make sure the Exchange IMAP services are running and the server certificate is valid from outside.
  3. IMAP over SSL must be reachable on port 993.
  4. Open Admin > Integrations and choose IMAP mailboxes.
  5. Click Add mailbox.
  6. Enter Server, Username and Password.
  7. Under Assign emails to, choose the matching user or group.
  8. Click Test connection, then Add mailbox.

The import reads all folders, including Sent, and skips messages that are already archived. Progress is shown under Admin > Import Jobs.

The import is a one-off. It runs when you add the mailbox, on Sync now and after Save & re-import. EasyMailArchive does not fetch new mail after the import on its own. The transport rule covers that.

More on IMAP mailboxes: IMAP integrations.

We use cookies to analyze site traffic and optimize your experience. No tracking occurs without your consent. Privacy Policy