Mail Test

This test monitors the availability of the mail server from an external perspective. To do this, the Mail Test sends a test mail periodically from one user account to another and measures whether the mail was sent successfully and what the delivery time was. This test uses SMTP protocol for sending and POP3 or IMAP protocols for receiving mails.

Target of the test : A mail server

Agent deploying the test : An internal agent

Outputs of the test : One set of results for every mail server monitored.

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed.


  • Indicates the IP address of the mail server.
  • Port

    The port number of the mail server’s routing engine.


    The SMTP port of the mail server. The default SMTP port is 25. 


    Denotes the user name with which the test sends mails. 


    The password associated with the above user name. The SendUser and SendPassword can be ‘none’ if the target mail server does not need authentication to send mails.

    Confirm Password

    Confirm the SendPassword by retyping it here.


    Takes the email id from which the test generates mails.


    Takes the email id to which the test sends mails. It is advisable that a separate email account be created for the MailTest. 


    The protocol to be used for receiving the mails (could be POP3 or IMAP).


    Indicates the IP address at which the test receives mails. Typically, this would be the IP address of a POP3 or IMAP server.


    Indicates the port number of the host, which receives the mails. The default port for POP3 is 110 and that of IMAP is 143.


    Indicates the user name with which the test receives mails.


    Indicates the password corresponding to the above user.

    Confirm Password

    Confirm the ReceivePassword by retyping it here.


    If the mail server is SSL-enbled, set this flag to True. By default, this is set to False.


    If the value chosen is Yes, then the mail server under consideration is a passive server in a mail server cluster. No alerts will be generated if the system is not running. Measures will be reported as “Not applicable" by the agent if the server is not up.

    Here are example settings of the Mail Test parameters:

    • SendUser = sam
    • SendPassword = send user's password
    • FromID =
    • ToID =
    • Protocol = POP3
    • ReceiveHost = (the POP3 server's host)
    • ReceivePort = 110
    • ReceiveUser = mailreceiver
    • ReceivePassword = mailreceiver's password

    It is advisable that you create a separate user account on your mail server for this test to use.

    Measurements made by the test
    Measurement Description Measurement Unit Interpretation

    Ability to send mail

    Indicates the availability of the mail server to which the test attempts to connect to send mail


    A value of 0 indicates that the test was not successful in sending a mail. Possible reasons for this could include the mail server being down, the network connection to the server not being available, etc.

    Ability to receive mail

    Indicates the availability of the POP3/IMAP server to which the test attempts to connect to receive mail messages


    A value of 0 indicates that the test was not successful in receiving a mail message from the POP3/IMAP server. Possible reasons for this could include the POP3/IMAP server being down, the user login being invalid, a failure of the authentication system that the POP3/IMAP server uses for authenticating user requests, etc.

    Outstanding messages

    Indicates the number of messages that have been sent but have not been received


    A large value is usually associated with a very high value of the Roundtrip time measurement. This is usually attributable to excessive load on the SMTP mail server. Delivery delays may also happen if the server is not able to send mail out (e.g., due to DNS failures, due to large number of failed messages which are being retried often, etc.).

    Roundtrip time

    The average delay between the transmission of one message and its reception by a user.


    This is a key measure of the quality of the mail service. An increase in Roundtrip time may be indicative of a problem with the SMTP mail service. Possible reasons could include spamming, queuing failures, disk space being full, etc.


    The accuracy of the Roundtrip time measurement is dependent on the frequency at which the Mail test is executed. For example, assume that Mail test is executed once every 5 minutes. Since the Mail test only checks for message receptions every time it executes, the Roundtrip time may be reported as 5 mins even if the message has actually been delivered to the user within a minute of its transmission.