Setting Up Email Journaling

What this does

With journaling (BCC forwarding), your mail server sends a copy of every message to EasyMailArchive. Once set up, all sent and received email is archived continuously.

Your relay address is on the SMTP BCC relay card under Admin > Integrations. It is also shown in the SMTP BCC relay setup dialog under Your relay address:

{slug}-{token}@smtp.easymailarchive.com

The part after the hyphen is a token that differs for each tenant. Copy the exact address from Admin > Integrations. Addresses without the token stop working after a short grace period.

The slug is the subdomain you chose at signup. The relay accepts mail without authentication. An unknown slug is rejected with 550 "unknown tenant".

The dialog has tabs for Postfix, Mailcow, Exchange and Google Workspace. Afterwards click Done to save the source.

Detailed guides

Microsoft 365 and Exchange

The Exchange tab covers Exchange 2013+ and Exchange Online.

  1. Open the Exchange Admin Center.
  2. Go to Mail flow > Rules.
  3. Create a new rule that applies to all messages.
  4. Set the action "Bcc the message to" and enter your relay address.
  5. Save the rule.

With PowerShell:

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

The Microsoft 365 connector under Admin > Integrations imports users, groups and domains. It does not replace the transport rule.

Google Workspace

  1. Open the Google Admin Console.
  2. Go to Apps > Google Workspace > Gmail > Routing.
  3. Click Add another rule.
  4. Under messages to affect, select Inbound, Outbound and Internal.
  5. Under Also deliver to, add your relay address.
  6. Save.

Changes can take up to an hour.

Postfix

Add this line to /etc/postfix/main.cf:

always_bcc = {slug}-{token}@smtp.easymailarchive.com

Then reload:

systemctl reload postfix

Mailcow

  1. Open the Mailcow admin panel.
  2. Go to Configuration > BCC Map.
  3. Add a new BCC destination with your relay address.
  4. Set the type to Sender BCC and apply it to all domains.

Check that it works

  1. Send a test email from and to a covered account.
  2. Look for its subject under Search.
  3. On Admin > Dashboard, check the "Compliance status" card: "Active, {count} emails archived".

More: Check your first archived email.

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