To allow MailShield to protect your organisation, you need to tell the internet to route your incoming emails through our security filters, and configure your Microsoft Exchange environment (whether cloud-hosted or on-premises) to route your outgoing emails through our secure gateway.
Do not worry if this sounds highly technical. It is essentially like filing a change-of-address form with the post office, and the process only takes a few minutes.
Setting up inbound protection (MX Records)
Mail Exchange (MX) records dictate where your incoming mail is delivered. We need to point them to MailShield so we can intercept threats before they reach your inboxes.
Step 1: Update your DNS Records
If your DNS is managed directly within Microsoft 365:
- Log into the Microsoft 365 Admin Center.
- Navigate to Settings > Domains.
- Select your primary domain and go to the DNS records tab.
- Delete existing records: Select your existing Exchange MX record and delete it. If you leave your old records active, spammers will bypass our security filters.
- Add the new record: Click Add record. Select MX as the type.
- In the Host name field, type
@. - In the Points to address field, paste the incoming server address provided in your MailShield dashboard (typically
seg-in.cadmuscyber.com). - For Priority, type
10. Click Save.
Important Note for Microsoft 365 Users: After updating your MX records, the Microsoft 365 Admin Center may display a warning about "Possible service issues" next to your domain. This is completely normal and expected. Microsoft expects MX records to point directly to their servers, but we are intentionally routing traffic through MailShield first. You can safely ignore this warning.
(Note: If you run an On-Premises Exchange Server or manage your DNS externally at a registrar like GoDaddy or Cloudflare, you will need to update your MX records there instead).
Step 2: Lock Down Your Firewall (On-Premises Exchange Only)
If you host your own physical or virtual Exchange server, updating your MX records is not enough. You must also configure your corporate firewall to only accept inbound SMTP traffic (Port 25) from MailShield's IP addresses. If you leave Port 25 open to the world, attackers will bypass the MX records and deliver spam directly to your server's public IP address.
Securing outbound emails
To protect your outgoing emails and ensure they do not end up in your clients' junk folders, you must route your outbound mail through MailShield.
1. Generate your Smart Host credentials
- In the MailShield portal, navigate to the Outbound Setup page and click Generate Outbound Profile.
- The system will provide you with a Smart Host address (e.g.,
seg-out.cadmuscyber.com). - For On-Premises Exchange Only: The system will also provide a username and secure SMTP password. Copy this password immediately. (Microsoft 365 does not require a password, as MailShield authenticates your tenant automatically).
2. Create a Send Connector
If you use Microsoft 365 (Exchange Online):
- Open the Exchange Admin Center.
- Navigate to Mail flow > Connectors.
- Click Add a connector.
- Set the connection from Office 365 to Partner Organization. (Ensure these exact directions are selected, otherwise the routing options will not appear). Click Next.
- Name the connector "MailShield Outbound Gateway" and ensure "Turn it on" is checked. Click Next.
- Under Use of connector, choose Only when email messages are sent to these domains and enter
*(an asterisk) to route all external mail. Click Next. - Under Routing, select Route email through these smart hosts. Click the plus icon and paste your MailShield Smart Host address (
seg-out.cadmuscyber.com). Click Next. - Under Security restrictions, leave Always use Transport Layer Security (TLS) enabled. Click Next.
- Follow the prompts to validate the connector with an external email address, then save.
If you use On-Premises Exchange Server:
- Open the Exchange admin center (EAC).
- Navigate to mail flow > send connectors.
- Edit your existing internet-facing send connector, or create a new one routing to the internet (
*). - Under the Delivery or Network routing options, select Route mail through smart hosts and click the add icon.
- Enter your MailShield Smart Host address (
seg-out.cadmuscyber.com) and save. - Click Smart host authentication. Select Basic authentication, check the box for Offer basic authentication only after starting TLS, and enter the username and password you generated in the MailShield portal.
- Save the connector.
3. Updating your SPF and DKIM records
Finally, you must authorise MailShield to send on your behalf.
- In your DNS settings, edit your existing SPF (
v=spf1) record to include MailShield.- For M365, it should look like:
v=spf1 include:spf.protection.outlook.com include:_spf.cadmuscyber.com -all - For On-Prem, it should look like:
v=spf1 ip4:[Your-Server-IP] include:_spf.cadmuscyber.com -all
- For M365, it should look like:
- Add a new TXT record. Set the Name to
cadmus._domainkey. - Paste the long cryptographic DKIM key from your MailShield dashboard into the Value field and save.
Waiting for the changes
Once you have saved these records, return to the MailShield Outbound Setup page and click Verify DNS.
The internet acts like a giant, slow-updating address book. It can take anywhere from a few minutes to a few hours for these DNS changes to spread globally. Your MailShield dashboard will automatically confirm once everything is perfectly aligned.