Connecting Your Email Server
How emails reach the archive
There are two ways:
- SMTP BCC relay: Your mail server sends a copy of every message to a relay address. This archives all users continuously. The right choice for most setups.
- IMAP mailboxes: Imports existing emails from specific mailboxes, then checks them for new mail about every 15 minutes.
You can combine both, for example BCC for continuous archiving and IMAP for existing mail.
Set up SMTP BCC
- Open Administration > Integrations and click Set up on the SMTP BCC relay card.
- Under Your relay address, copy
{slug}-{token}@smtp.easymailarchive.com. The slug is the subdomain you chose at signup. The part after the hyphen is a token that differs for each tenant. Addresses without the token stop working after a short grace period. - Select the tab for your mail server (Postfix, Mailcow, Microsoft 365, Exchange or Google Workspace) and follow the steps.
- Click Done.
- Send a test email and look for it under Search.
Detailed guides: Setting up email journaling. To verify: Check your first archived email.
Set up IMAP
- Open Administration > Integrations and select IMAP mailboxes.
- Click Add mailbox and enter Server, Username and Password.
- Choose the assignment under Assign emails to.
- Click Test connection, then Add mailbox.
Details: IMAP integrations.
Directory connectors
Independent of email intake, EasyMailArchive can import users and groups. Three connectors are available under Administration > Integrations:
- Mailcow API: Enter API base URL and API key. Mailboxes sync as users, aliases as user aliases or groups.
- Google Workspace: Service account with domain-wide delegation. Imports users, groups and domains.
- Microsoft 365: Click Connect with Microsoft and sign in as a Global Administrator. Access is read-only.
Users, groups and domains sync once a day. The connectors also import existing mail (Mailcow only with a read-write API key) and create import jobs (see Administration > Import Jobs). A connector does not replace the BCC relay: for continuous archiving, set up the BCC rule.
Which method fits?
| SMTP BCC | IMAP | |
|---|---|---|
| Continuous archiving | Yes | Yes, per mailbox |
| New messages | Immediately | About every 15 minutes |
| Mail deleted before the next check | Archived | Not archived |
| All users covered | Yes | Per mailbox |
| Requirement | BCC or routing rule on the mail server | IMAP access on port 993 (SSL) or 143 (STARTTLS) |
Start with SMTP BCC. Add IMAP for existing mail and for mailboxes that cannot use a BCC rule.
Next steps
Once emails arrive, invite your team.