How to fix Greylisting Emails with Exchange 2003 sp2

AID: 8111
  • Status: Published

1330 points

  • ByPhilonator
  • TypeTips/Tricks
  • Posted on2011-10-07 at 06:53:51
Problem:
It looks like there is an obscure problem with exchange server 2003 with service pack 2 sending to a server that is using greylisting.

Greylisting is a technique that can be implemented on a mail server to reduce spam.  The concept is that the mail server is set to temporarily reject the initial connection attempt and to tell the sender to resend the email.  This second connection attempt is then accepted.  The idea is that spammers will not send this follow up email, thus reducing spam.  The sending user would receive a rejection notice that states: “You do not have permission to send to this recipient.  For assistance, contact your system administrator” or  “Recipient address rejected: Greylisted for 5 minutes”.

Also when you restart a server, emails will start to blast out from the past, which is another symptom of this problem (restarting a server will restart the information store service).  This Microsoft Technet question describes what is happening well:

(http://social.technet.microsoft.com/Forums/zh/exchangesvradmin/thread/8c27e334-f9d1-4ecb-9a5d-72dd5ba1224f)

In short- Exchange 2003 SP2 failes to re-queue messages sent to some servers that implement greylisting.

This does not happen all the time (some messages go through but sometimes it fails).

When the problem happens, those emails are hidden in some kind of a black hole, and the sender does not get an NDR nor Delay notification, even after those timeouts expire.

Such messsages can remain "lost" for days or even weeks, until the SMTP or Information Store service is restarted.
 
After a restart of SMTP service, Exchange suddenly finds those lost emails (I guess they were in the Mailbox Store), and retries to send them or returns NDR to the sender.


Solution:
Fortunately Microsoft has created a specific hotfix that will address this issue. More details of this fix can be found here http://support.microsoft.com/?kbid=950757

There are other users that have reported that the registry fix will work as well:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SMTPSVC\Queueing]
"GlitchRetrySeconds"=dword:00000078
Asked On
2011-10-07 at 06:53:51ID8111
Tags

Greylisting

,

exchange

,

hotfix

,

exchange 2003

,

exchange 2003 sp2

,

email

Topic

Exchange Email Server

Views
764

Comments

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Exchange Experts

  1. demazter

    724,144

    Sage

    1,580 points yesterday

    Profile
    Rank: Genius
  2. alanhardisty

    714,931

    Sage

    4,220 points yesterday

    Profile
    Rank: Genius
  3. jjmck

    275,745

    Guru

    1,030 points yesterday

    Profile
    Rank: Genius
  4. Rajkumar-MCITP

    268,093

    Guru

    0 points yesterday

    Profile
    Rank: Guru
  5. apache09

    245,757

    Guru

    1,500 points yesterday

    Profile
    Rank: Genius
  6. akicute555

    178,820

    Guru

    0 points yesterday

    Profile
    Rank: Wizard
  7. amitkulshrestha

    171,436

    Guru

    0 points yesterday

    Profile
    Rank: Genius
  8. acbrown2010

    159,135

    Guru

    1,000 points yesterday

    Profile
    Rank: Genius
  9. Akhater

    153,366

    Guru

    0 points yesterday

    Profile
    Rank: Genius
  10. Neilsr

    137,804

    Master

    0 points yesterday

    Profile
    Rank: Genius
  11. jordannet

    127,611

    Master

    10 points yesterday

    Profile
    Rank: Wizard
  12. GreatVargas

    101,542

    Master

    2,800 points yesterday

    Profile
    Rank: Wizard
  13. HendrikWiese

    95,084

    Master

    2,050 points yesterday

    Profile
    Rank: Sage
  14. limjianan

    94,700

    Master

    0 points yesterday

    Profile
    Rank: Genius
  15. endital1097

    93,710

    Master

    10 points yesterday

    Profile
    Rank: Genius
  16. Anuroopsundd

    92,000

    Master

    0 points yesterday

    Profile
    Rank: Sage
  17. davorin

    91,351

    Master

    0 points yesterday

    Profile
    Rank: Sage
  18. Radweld

    88,729

    Master

    0 points yesterday

    Profile
    Rank: Guru
  19. chakko

    88,498

    Master

    0 points yesterday

    Profile
    Rank: Genius
  20. R--R

    86,699

    Master

    0 points yesterday

    Profile
    Rank: Wizard
  21. e_aravind

    85,998

    Master

    0 points yesterday

    Profile
    Rank: Genius
  22. Exchange_Geek

    85,704

    Master

    0 points yesterday

    Profile
    Rank: Sage
  23. lucid8

    81,809

    Master

    0 points yesterday

    Profile
    Rank: Sage
  24. KalluSureshKumar

    76,534

    Master

    0 points yesterday

    Profile
    Rank: Master
  25. tigermatt

    73,020

    Master

    0 points yesterday

    Profile
    Rank: Genius

Hall Of Fame