Test Inbound or Relay Configuration
Verify your mail routing settings before completing tenant migration.
Mail Routing Test Flow
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., user@sourcedomain.com).
Example
Testing if mail for chloe@drypizza.com
correctly routes to chloe@warmsushi.onmicrosoft.com:
Send-MailMessage -SmtpServer 52.xxx.xxx.xxx -From admin@company.com -To chloe@drypizza.com -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:
Log into the target mailbox (e.g., chloe@warmsushi.onmicrosoft.com)
Check the Inbox for your test message
Also check Junk/Spam folder if not in inbox
Success Indicator
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