Google Answers Logo
View Question
 
Q: Mail Systems and outgoing messages. ( Answered 4 out of 5 stars,   0 Comments )
Question  
Subject: Mail Systems and outgoing messages.
Category: Computers > Internet
Asked by: jumbie-ga
List Price: $2.00
Posted: 21 Oct 2002 07:39 PDT
Expires: 20 Nov 2002 06:39 PST
Question ID: 85923
How long should a person have a mail system keep an outgoing message
if the mail system cannot form a connection to the destination
computer, and why?
Answer  
Subject: Re: Mail Systems and outgoing messages.
Answered By: bikerman-ga on 22 Oct 2002 05:55 PDT
Rated:4 out of 5 stars
 
Greetings,

In order to comply with RFC 2821, you should configure a mail
system to retry for at least 4-5 days.  Here is a quote from RFC
2821:

"4.5.4.1 Sending Strategy

"The general model for an SMTP client is one or more processes that
periodically attempt to transmit outgoing mail.  In a typical
system, the program that composes a message has some method for
requesting immediate attention for a new piece of outgoing mail,
while mail that cannot be transmitted immediately MUST be queued
and periodically retried by the sender.  A mail queue entry will
include not only the message itself but also the envelope
information.

"The sender MUST delay retrying a particular destination after one
attempt has failed.  In general, the retry interval SHOULD be at
least 30 minutes; however, more sophisticated and variable
strategies will be beneficial when the SMTP client can determine
the reason for non-delivery.

"Retries continue until the message is transmitted or the sender
gives up; the give-up time generally needs to be at least 4-5
days.  The parameters to the retry algorithm MUST be configurable.

"A client SHOULD keep a list of hosts it cannot reach and
corresponding connection timeouts, rather than just retrying
queued mail items.

"Experience suggests that failures are typically transient (the
target system or its connection has crashed), favoring a policy of
two connection attempts in the first hour the message is in the
queue, and then backing off to one every two or three hours."

"Simple Mail Transfer Protocol", Copyright (C) The
Internet Society (2001)

A copy of this RFC may be found on the website of the Internet
Engineering Task Force (IETF) at the following address: 

URL: http://www.ietf.org/rfc/rfc2821.txt

Personally, I wouldn't retry for longer than 5 days, because most
network problems are resolved in much less time.  Depending on the
amount of traffic through your server, you may end up using a lot
of resources queueing messages that will never be delivered.


Additional Links:

The Sendmail homepage
http://www.sendmail.org

The Internet Mail Consortium (IMC)
http://www.imc.org

The Internet Engineering Task Force (IETF)
http://www.ietf.org


Search Strategy:

No searching, really.  Reading the Sendmail FAQ led me to the
Internet Mail Consortium's homepage, which led me to RFC 2821.


Best regards,
bikerman-ga
jumbie-ga rated this answer:4 out of 5 stars and gave an additional tip of: $1.00
Thanks, this was good!

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy