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
- Exchange Server
- Google Workspace
- Mailcow
- IMAP for hosted mailboxes
- Check your first archived email
Microsoft 365 and Exchange
The Exchange tab covers Exchange 2013+ and Exchange Online.
- Open the Exchange Admin Center.
- Go to Mail flow > Rules.
- Create a new rule that applies to all messages.
- Set the action "Bcc the message to" and enter your relay address.
- 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
- Open the Google Admin Console.
- Go to Apps > Google Workspace > Gmail > Routing.
- Click Add another rule.
- Under messages to affect, select Inbound, Outbound and Internal.
- Under Also deliver to, add your relay address.
- 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
- Open the Mailcow admin panel.
- Go to Configuration > BCC Map.
- Add a new BCC destination with your relay address.
- Set the type to Sender BCC and apply it to all domains.
Check that it works
- Send a test email from and to a covered account.
- Look for its subject under Search.
- On Admin > Dashboard, check the "Compliance status" card: "Active, {count} emails archived".