in

ASP.NET Weblogs

uber1024's WebLog

It's not hot wings and beer, but it's still okay

Email woes when upgrading from Win2K to Win2k3

The SMTP standard, which no one not featured in the mockumentary "Trekkies" has read, states that bare linefeeds ( "\n" ) are not allowed in the SMTP standard.  Qmail servers interpret this strictly.  There are qmail fanboy articles explaining why this is good.  That's fine and the world continues.

However, IIS 5 would catch what amounted to mistakes by developers and would silently rewrite "\n" as "\r\n", which conforms to the SMTP standard.  For whatever reason, IIS 6 does not.  I can't fathom why this feature wouldn't be included for backwards-compatibility, but it seems that backwards compatibility is aggressively discouraged.  This is unfortunate.

I'm having more and more "I hate Microsoft" days since Windows 2003 was adopted.  We have our main website running on Win2k3 and we're moving another (although I wish we weren't).  Our other 17 websites will remain on Windows 2000 until such time as I no longer work here.

Comments

 

T said:

This goes along the line of XHTML strict. A good move by MS in my opinion. Developers *should* be thinking about these things, not be lazy and depend on others to make sure they do things correct.
January 10, 2006 5:25 PM
 

uber1024 said:

That's certainly one way of looking at it. However, when your company has been programming long enough, you'll find that maintaining old code becomes a big part of your job and there's no way around it. I don't *want* to have to spend 6 months rewriting 75,000 files (my guess as to about how many files are involved with all our websites) just to update to the latest version of Windows. If that's something you want to do all-day, every-day for no money (clients frown upon paying for that stuff) ... send me your resume.

You could say "you should have done it right the first time", and I'd have to say "yeah, you're probably right. And as soon as time travel is invented, I'll be the first one to go back in time, convince my company to hire me 6 years before I applied for the job, and tell all the developers to make sure to always use \r\n when sending emails."

Bottom line: backwards compatibility was sacrificed. I don't care why. I don't care how. I just care that my websites are fucked.
January 10, 2006 5:32 PM
 

Eric Newton said:

If you move your App from one platform (IIS5) to another (IIS6), you should NOT expect the same behavior, nuances, and so forth. Its just not possible and has produced the side effect of DLL HELL. As an industry we're all TRYING to move away from extreme backward compatibility (Microsoft being the BIGGEST antagonist on this front: imagine backward supporting RESERVED STRUCTURES because some arcane program USED THEM?!)
January 11, 2006 11:52 AM
 

Eric Newton said:

Oh, and when you get to Seoul, hook me up with a cute Asian girl too ;-)
January 11, 2006 11:53 AM
 

uber1024 said:

<i>Oh, and when you get to Seoul, hook me up with a cute Asian girl too</i>

Sure, if you speak Korean this will be no problem.
January 30, 2006 12:27 PM

Leave a Comment

(required)  
(optional)
(required)  
Add