Test Inbound or Relay Configuration

Verify your mail routing settings before completing tenant migration.

Last updated: 2025-01-15 How To

Mail Routing Test Flow

💻
PowerShell
Send test email
🔄
Cloudiway Relay
Routes email
📬
Target Mailbox
Verify delivery

Overview

When migrating domains between Microsoft 365 tenants, you need to configure mail routing to ensure emails continue flowing during the transition. Before completing your migration, test the relay configuration to confirm it's working correctly.

Why Test?

Testing confirms that emails sent to source addresses are correctly routed to the target tenant. This validation prevents mail delivery failures during the critical migration cutover period.

Test Command

PowerShell Send-MailMessage

Use PowerShell to send a test email through the Cloudiway relay server:

Send-MailMessage -SmtpServer <IPAddress> -From <SenderEmail> -To <EmailToTest> -Subject "Test" -Body "Test message"

Parameters

-SmtpServer

The IP address provided in Cloudiway's help information panel. This is the relay server address.

-From

A valid sender email address. Can be any address you have permission to send from.

-To

The source email address you want to test routing for (e.g., [email protected]).

Example

Testing if mail for [email protected] correctly routes to [email protected]:

Send-MailMessage -SmtpServer 52.xxx.xxx.xxx -From [email protected] -To [email protected] -Subject "Routing Test" -Body "Testing mail routing"

Note: Replace the IP address with the actual Cloudiway relay IP shown in your project's help panel.

Verify Delivery

Check the Target Mailbox

After sending the test email, verify delivery by:

1

Log into the target mailbox (e.g., [email protected])

2

Check the Inbox for your test message

3

Also check Junk/Spam folder if not in inbox

Success Indicator

If the test email arrives in the target mailbox, your mail routing configuration is working correctly. You can proceed with your migration cutover confidently.

If Test Fails

  • • Verify the SMTP server IP address is correct
  • • Check mail routing rules in Cloudiway
  • • Ensure the target mailbox exists and is active
  • • Review connector configuration in both tenants

Was this article helpful?

We value your feedback

Help us improve your experience

What would you like to share with us?

Need direct support? Open a ticket