Re: Strange problem with mail sent from Exchange 2003 server

Shepherd Nhongo <[email protected]> Fri, 25 Feb 2011 18:18:48 +0200
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
@Claudio Jeker

// (1200seconds later...)

451 timeout (#4.4.2)

SMTP Error 451  :    The action has been aborted by your qmail-ldap server
or  “Local”  (Local Problem, i suspect exchange glitch retry)

This error is usually due to overloading at your next server [temporarily] too
many messages or some other similar transient failure / grey listing.  The
next attempt to send by your server may prove successful.

 ------------------------------

SMTP Error 442  : – The connection was dropped during transmission.This
normaly happens when the MTA server has a delay mechanism and exchange drops
the connection and go into the "glitch retry"


If Exchange Server 2003 tries to route a message to a loaded  SMTP system
such as a qmail  virus & mail gateway, it can receive a Server Busy error.
In these situations, the Exchange transport goes into a state known as
'glitch retry'. In this state, Exchange Server 2003 waits 60 seconds before
attempting to resend the message, and it repeats this process three times
before resorting to other actions. If external SMTP servers are consistently
busy, reduce the glitch retry wait time to prevent mass message queuing.
  Before You Begin

Before you perform the procedure in this topic, be aware that this procedure
contains information about editing the registry.
[image: Aa998772.Caution(en-us,EXCHG.65).gif]Caution:Incorrectly editing the
registry can cause serious problems that may require you to reinstall your
operating system. Problems resulting from editing the registry incorrectly
may not be able to be resolved. Before editing the registry, back up any
valuable data.
  Procedure
To configure the glitch retry interval in Exchange Server 2003

   1.

   Open a registry editor, such as Regedit.exe or Regedt32.exe.
   2.

   Navigate to: *HKLM\System\CurrentControlSet\Services\SMTPSvc*.
   3.

   Right-click *SMTPSvc* and select *New* | *Key*.
   4.

   Name the new key *Queuing*.
   5.

   Right-click *Queuing* and select *New* | *DWORD Value*.
   6.

   Name the new DWORD value *GlitchRetrySeconds*.
   7.

   Double-click *GlitchRetrySeconds* to edit its value data.
   8.

   Change the *Base* to *Decimal*.
   9.

   In the *Value data* field, enter the number of seconds that Exchange
   Server 2003 should wait before attempting to resend a message.
   10.

   Click *OK* to save the change, and then close the Registry Editor.
   11.

   Restart the Simple Mail Transfer Protocol (SMTP) service for the change
   to take effect.


   12. *Alternatively Stop and restart the SMTP service on a schedule.*

   This is extremely easy to implement -- just create a batch file with the
   two lines:

   *net stop smtpsvc
   net start smtpsvc*

   Run this once a day using Scheduled Tasks, preferably during off-peak
   hours. (The downtime incurred by doing this will probably not be
*too* large,
   but it's still best to set it to happen during a time when not much will be
   affected.)

   Use notepad to write the batch script and save with a .bat extension.