MailRoundTrip service
Description
The InfraSonar MailRoundTrip service is a synthetic monitor verifying the complete email flow.
The steps below outline the email roundtrip for mailroundtrip@example.org
:
- The first step is to lookup all MX records for
example.org
. - Our MailRoundTrip service sends an email to all MX records.
- The receiving email server is configured to automatically forward all mail sent to the probe address. In our case
mailroundtrip@example.org
is forwarded tomail@mrt.infrasonar.com
.
This approach ensures all components such, as DNS, internet connection, email filtering, and email server components involved in receiving and sending email, are part of the measurement.
Note
Sending an email to all MX records ensures the email fallback scenarios work when you need to rely on them.
Deployment
Service configuration
The only required configuration property for the MailRoundTrip service is the mail domain.
So in our case this would be: mailroundtrip@example.org
Mail service
The email service you want to monitor example.org
needs to forward messages send to mailroundtrip@example.org
to mail@mrt.infrasonar.com
Note
Ensure you forward these emails without storing them in your email database or use a routine to automatically cleanup the messages to avoid digital waste.
Microsoft Exchange Configuration
The email roundtrip flow works as follows on a Microsoft Exchange infrastructure:
- The central monitoring server sends an email to a pre-configured user.
- The Exchange user auto-forwards the message to the email contact, which is the email address used by the central monitoring server.
- The central server receives and parses the message.