How routers work after a message fails

Source: Internet
Author: User
Tags mail

After a message has failed to send, the router (router) task is retried based on the value specified in the initial delivery retry interval field. The initial transfer retry Interval field is located in the server configuration document and can be found under router/smtp-〉 restriction and control-〉 Transmission control. The user can specify an integer in the domain, in minutes, and the router will control the resend of the message based on this setting.

The Notes message route (router task) can send messages based on the NRPC protocol and the SMTP protocol. If a message fails to send, it is saved in Mail.box waiting for the router to send again. By default, a message can be saved for up to 24 hours in Mail.box, and if this time is exceeded, the router task generates a post failure report and notifies the sender that the message delivery failed.

As mentioned above, if a message fails to send, the router will try again according to the settings in the initial transfer retry interval. This setting takes effect for all messages, and NRPC and SMTP messages follow this setting.

To view messages waiting to be sent on the server and their status, the administrator can use the following console command:

Tell ROUTER show QUEUE

The output sample for this command is as follows:

The number in parentheses following the retry indicates that this is the first attempt to resend.

The mechanism for router work is this:

If the message fails for the first time, the router waits for the number of minutes specified in the initial transfer retry interval. Then make the first resend, if still unsuccessful, wait until the second time to resend twice times the specified time in the initial transfer retry interval, and wait three times times before the third resend. Next, each resend will wait three times times until it reaches 24 hours.

The default value for the initial transfer retry interval is 15 minutes, which, for example, describes the process of the router's work:

1 Wait 15 minutes for the first resend. (The first resend is actually the second send attempt for this message)

2 If the first resend fails, the router waits twice times the time specified in the initial transfer retry interval, and then tries again to send again. The time to wait is 30 minutes before sending this time. (The third attempt to send this message). (☆ Introduction to Programming Network ☆)

3 If the second resend fails, the router waits three times times the time specified in the initial transfer retry interval, and then tries again to send again. The time to wait is 45 minutes before sending this time. (Fourth send attempt for this message)

4 All subsequent attempts to send will wait 45 minutes before reaching 24 hours.

Reducing the field value of the initial transfer retry interval increases the number of times that a message is retried per hour, which may increase the success rate of message routing.

Increasing the field value of the initial transfer retry interval reduces the number of times a message is retried per hour, and may increase the amount of time the message waits.

Note: The only way to reset the initial transfer retry interval value is to restart the router task. Typing the command "route servername" on the Domino server console will allow the server to immediately attempt to send the message, but if the send is unsuccessful, the router will wait for the retry interval to try again.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.