Exchange 2003 sp2 and greylisting...

Exchange 2003, you say? Who is still using that? Geeked

Most people are.

I've done the research a couple of times now, so I wanted to write it down in one place. Of course, I decided to share it with you as well.

Exchange 2003 with service pack 2 has some interesting challenges when sending e-mail to another SMTP server when that "other" server implements greylisting.

Sidebar: Greylisting is an anti-spam measure. Most of the programs that actually transmit e-mail spam don't fully follow SMTP protocols. If an unexpected SMTP protocol result is received, then they drop the SMTP connection and move on to the next one. A server that is using greylisting maintains a cache of the IP addresses of servers that have sent good e-mail. When a new server connects for the first time, the greylisting server sends a SMTP protocol message that says "I'm busy - come back in a little while" - with the expectation that the message will be retried with in a few minutes.

Most spam mailers will just drop the message.

Sometimes, Exchange will somehow seem to lose the message. Yep, lose it. It doesn't show in any visible queue, it doesn't generate an NDR, etc. etc. It just seems lost - until you restart the SMTP service (generally by rebooting the Exchange server for your monthly patch updates). Then, you may get a gazillion NDRs suddenly generated from messages that were sent quite some time ago...and users start asking questions.

This can also happen with the default Windows SMTP service, after applying Windows Server 2003 service pack 2.

For Windows Server, there is a hotfix available:

On a Windows Server 2003-based SMTP gateway server, some messages may remain in the queue folder until the SMTP service is restarted
http://support.microsoft.com/default.aspx?scid=kb;EN-US;934709

For Exchange Server, your best bet is to both apply the above hotfix and to change a registry parameter known as GlitchRetrySeconds.

For a great explanation of GlitchRetrySeconds and what it does (as well as lots of other information about the SMTP queueing engine), see:

Explaining the Mysterious SMTP Advanced Queuing Engine
http://msexchangeteam.com/archive/2005/04/04/403297.aspx.

But all you really need to know is to increase the value. I personally like the value of three minutes (180 seconds). Other people prefer two minutes (120 seconds). The default value is one minute (60 seconds). Since messages are retried three time before they are actually "sent to the back of the line", one minute can be too short (a typical greylisting delay is five minutes [300 seconds]).

The downside to setting GlitchRetrySeconds too high is that it can cause a high-volume SMTP server to not send as many messages. This is rarely a problem for most installations. But because of this, the Exchange Server Analyzer Tool will report on a non-standard value for GlitchRetrySeconds:

The SMTP GlitchRetrySeconds registry value has been manually set
http://technet.microsoft.com/en-us/library/aa996601.aspx

And finally, here is how and where you modify the value:

How to Configure Glitch Retry Interval in Exchange Server 2003
http://technet.microsoft.com/en-us/library/8b43be56-48e6-400b-8014-54c95f87d1de.aspx

Whenever I hunt for the above article, it always takes me a little while - because of the difference between "interval" and "seconds" in the article title and in the registry value. Ooops. Smile

Published Friday, November 16, 2007 7:02 AM by michael
Filed under: ,

Comments

# Exchange 2003 sp2 and greylisting… - Michael’s meanderings… « Taking it Upwards with SBS - Dale aka Sisyphus’ Weblog

Pingback from  Exchange 2003 sp2 and greylisting… - Michael’s meanderings… « Taking it Upwards with SBS - Dale aka Sisyphus’ Weblog

# Email reappeared - tentative post - still investigating | keyongtech

Pingback from  Email reappeared - tentative post - still investigating | keyongtech

# blog.jonsson.it » Greylisting on Exchange 2007 - Issue with GlitchRetrySeconds

Pingback from  blog.jonsson.it » Greylisting on Exchange 2007 - Issue with GlitchRetrySeconds

Thursday, June 04, 2009 9:06 AM by Exchange 2003 Greylist Issue... | keyongtech

# Exchange 2003 Greylist Issue... | keyongtech

Pingback from  Exchange 2003 Greylist Issue... | keyongtech

Thursday, May 20, 2010 5:23 PM by Sw2 Map Flatshare, Review Sw2

# Sw2 Map Flatshare, Review Sw2

Pingback from  Sw2 Map Flatshare, Review Sw2

Thursday, May 20, 2010 8:37 PM by C2500 Inr, F 250 Radiator 7.3 L Diesel Glow Plugs

# C2500 Inr, F 250 Radiator 7.3 L Diesel Glow Plugs

Pingback from  C2500 Inr, F 250 Radiator 7.3 L Diesel Glow Plugs

# Amanti Promotion Special, Discount 2006 Kia Amanti Side Airbags

Pingback from  Amanti Promotion Special, Discount 2006 Kia Amanti Side Airbags

# Nissan Murano Trailer Hitch Auto Repair, Murano Cars Sport Utility

Pingback from  Nissan Murano Trailer Hitch Auto Repair, Murano Cars Sport Utility

# 1996 Volkswagen Eurovan Great, Vanagon Part Westfalia Camper Vw Eurovan Karmann Ghia

Pingback from  1996 Volkswagen Eurovan Great, Vanagon Part Westfalia Camper Vw Eurovan Karmann Ghia

# 560sec Headlight Miele Autohaus Az, 560sec Action Mercedes Benz

Pingback from  560sec Headlight Miele Autohaus Az, 560sec Action Mercedes Benz

Friday, May 21, 2010 1:11 AM by Amazon 310, American Standard 6310

# Amazon 310, American Standard 6310

Pingback from  Amazon 310, American Standard 6310

# Car Plymouth Conquest, Boston Whaler Conquest Review

Pingback from  Car Plymouth Conquest, Boston Whaler Conquest Review

Friday, May 21, 2010 4:45 AM by Optima 365 Omega 3 Fatty Acids, Optima 05

# Optima 365 Omega 3 Fatty Acids, Optima 05

Pingback from  Optima 365 Omega 3 Fatty Acids, Optima 05

# Bulova Caravelle Chronograph Watches Seiko, Sevylor Super Caravelle Xr106gt

Pingback from  Bulova Caravelle Chronograph Watches Seiko, Sevylor Super Caravelle Xr106gt

Friday, May 21, 2010 2:30 PM by Cx 7 Radiator 2007 Mazda Cx7, Mx3 Opinie Mazda Cx7

# Cx 7 Radiator 2007 Mazda Cx7, Mx3 Opinie Mazda Cx7

Pingback from  Cx 7 Radiator 2007 Mazda Cx7, Mx3 Opinie Mazda Cx7

# Part Search Our 2005 Mercedes E250, Accessories Sgh E250 Review

Pingback from  Part Search Our 2005 Mercedes E250, Accessories Sgh E250 Review

# 05 F 250 Super Duty, Ford E 550 Econoline Super Duty Discount Replacement Headlight Assembly Capa Certified

Pingback from  05 F 250 Super Duty, Ford E 550 Econoline Super Duty Discount Replacement Headlight Assembly Capa Certified

# Part Car Ford Granada Mk1, Buy Granada Property Cave Houses

Pingback from  Part Car Ford Granada Mk1, Buy Granada Property Cave Houses

Friday, May 21, 2010 6:50 PM by 12v30 30w Bulb, V30 Promo Codes

# 12v30 30w Bulb, V30 Promo Codes

Pingback from  12v30 30w Bulb, V30 Promo Codes

# 1960 Chevy Biscayne Sedan Delivery, Biscayne Performance Beat

Pingback from  1960 Chevy Biscayne Sedan Delivery, Biscayne Performance Beat

# Chrystler Conquest Parts, Mitsubishi Starion Chrysler Conquest Parts

Pingback from  Chrystler Conquest Parts, Mitsubishi Starion Chrysler Conquest Parts

# Isuzu Pick Up Test, Gmc K25 K2500 Pickup Ring And Pinion Rear Axle

Pingback from  Isuzu Pick Up Test, Gmc K25 K2500 Pickup Ring And Pinion Rear Axle

Friday, May 21, 2010 8:55 PM by Chrylser Uk Auto, Chrylser Uk Auto

# Chrylser Uk Auto, Chrylser Uk Auto

Pingback from  Chrylser Uk Auto, Chrylser Uk Auto

Friday, May 21, 2010 10:09 PM by Rozd?l Passport Essential Elite, Passport Dentist

# Rozd?l Passport Essential Elite, Passport Dentist

Pingback from  Rozd?l Passport Essential Elite, Passport Dentist

# Starlet Discount Hawaii Kewalo Basin, Toyota Starlet 5 Portes

Pingback from  Starlet Discount Hawaii Kewalo Basin, Toyota Starlet 5 Portes

# 1989 Buick Park Avenue Hub Cap Gran Sport, Buy Suzuki Forenza Spark Plugs Auto Parts

Pingback from  1989 Buick Park Avenue Hub Cap Gran Sport, Buy Suzuki Forenza Spark Plugs Auto Parts

# Nsx Fashion, Acura Nsx Aftermarket Brake Rotors Cold Air Intake

Pingback from  Nsx Fashion, Acura Nsx Aftermarket Brake Rotors Cold Air Intake

# Ford Imperial Radiator These, 1954 Chrysler Imperial Hemi

Pingback from  Ford Imperial Radiator These, 1954 Chrysler Imperial Hemi

# Used 190d Mercedes Benz 190e 4 Cylinder, 1991 Parts 1987 Mercedes Benz 190e

Pingback from  Used 190d Mercedes Benz 190e 4 Cylinder, 1991 Parts 1987 Mercedes Benz 190e

# My 1997 Chrysler Sebring Overheating, Chrysler Sebring Break Replacement

Pingback from  My 1997 Chrysler Sebring Overheating, Chrysler Sebring Break Replacement

Saturday, May 22, 2010 7:33 AM by 500sel Repair E55 Amg Fenders, 500sel Recycle

# 500sel Repair E55 Amg Fenders, 500sel Recycle

Pingback from  500sel Repair E55 Amg Fenders, 500sel Recycle

# Used Electra Glide Standard, Standard New English Bible Inclusive Language

Pingback from  Used Electra Glide Standard, Standard New English Bible Inclusive Language

# Sale Search 1997 Mercury Mystique, 1999 Accessories Mercury Mystique Parts

Pingback from  Sale Search 1997 Mercury Mystique, 1999 Accessories Mercury Mystique Parts

# Buy Astre Chevrolet Vega Oldsmobile Starfire, Pontiac Astre Manual Description

Pingback from  Buy Astre Chevrolet Vega Oldsmobile Starfire, Pontiac Astre Manual Description

Saturday, May 22, 2010 12:32 PM by 2005 Bmw 545i Performance Horsepower, Lexus 545i

# 2005 Bmw 545i Performance Horsepower, Lexus 545i

Pingback from  2005 Bmw 545i Performance Horsepower, Lexus 545i

# Radiator 1979 Buick Lesabre Transmission Oil Cooler All Aluminum, B12 Discount Prescription

Pingback from  Radiator 1979 Buick Lesabre Transmission Oil Cooler All Aluminum, B12 Discount Prescription

# Scarpa Summit Vibram Sole Mt Rainier, Rainier Replacement Auto Wiper Blade

Pingback from  Scarpa Summit Vibram Sole Mt Rainier, Rainier Replacement Auto Wiper Blade

# Komatsu D21a 7 For Sale Machinery, 1986 Nissan D21 Throttle Body

Pingback from  Komatsu D21a 7 For Sale Machinery, 1986 Nissan D21 Throttle Body

Saturday, May 22, 2010 3:19 PM by First Sale Sl1, Sl1 France

# First Sale Sl1, Sl1 France

Pingback from  First Sale Sl1, Sl1 France

Saturday, May 22, 2010 5:34 PM by Bmw 330ci Vs M3, 323ci Door Stereo Bmw 330ci

# Bmw 330ci Vs M3, 323ci Door Stereo Bmw 330ci

Pingback from  Bmw 330ci Vs M3, 323ci Door Stereo Bmw 330ci

# Wd Wd400eb 00cpf0, Performance Parts 1993 400e Mercedes Benz Plastic Tanks - 453.binggreen.com

Pingback from  Wd Wd400eb 00cpf0, Performance Parts 1993 400e Mercedes Benz Plastic Tanks - 453.binggreen.com