IMAP server
- Last UpdatedFeb 14, 2023
- 1 minute read
The interface measures IMAP server response times for points with Location2 set to 8.
TCPResponse connects to the IMAP port of the specified machine, for example, a machine specified using DEVICE=mail.somecompany.com in the InstrumentTag. The IMAP port is either the default port (143) or a user-specified port, by PORT= in the InstrumentTag. After establishing the connection, the interface waits for the IMAP server to send a message that contains the text * OK. In other words, TCPResponse performs a substring search for * OK in the received reply.
Note: RFC 2060 defines a status code of * OK as a good status indication. You can instruct the interface to perform a substring search for a different text string by specifying the case-sensitive string by REPLY= in the InstrumentTag. The keyword REPLY itself is not case sensitive.
The response time measured by the interface is the amount of time from the time of the connection request to the time when interface receives the message containing * OK. If the interface does not receive a message containing * OK , it writes the value Bad Input. If the interface does not receive a reply within a user-specified timeout duration, it writes I/O Timeout.