|
I need to clarify this a little bit more after doing more research and
getting a confirmation of the issue. The problem wasn't a corrupted metabase, but instead a limitation in MS SMTP that was exposed by using VamSoft's ORF which plugs-into MS SMTP. I use this software for doing mostly address validation; an absolute requirement when you are gatewaying through IMail for customers due to the widespread dictionary attacks and backscatter. My ORF/MS SMTP gateways relay to my IMail/Declude server for full processing. The exact source of the problem was a limit in threads in MS SMTP, which is something like 20 per processor (not sure if hyperthreading counts in this case). I had ORF configured to tarpit senders of invalid addresses for 60 seconds, which was done by delaying the 5xx error code by 60 seconds. This contributed greatly to me hitting this wall. When this wall was hit, MS SMTP would start dropping connections, and because this pool is shared in IIS with the FTP service also, it was causing FTP to be almost non-responsive. Removing the tarpitting allows the server much more headroom before it hits this threshold. While simple address validation and minimal blacklisting/filtering can apparently scale up to at least 1 million messages per day with ORF and MS SMTP with a light configuration, this limitation in the MS SMTP architecture makes it inappropriate for any full scale spam blocking solution such as Declude unless you have that application ride behind MS SMTP instead of being plugged into it. That's probably bad news for Declude if they wanted to create a MS SMTP plug-in, though it would appear that it is something that could be worked around by avoiding the sink interface except for a select few tests such as address validation and before arrival blacklisting (rejecting spam during the SMTP envelope based on simple tests). Virus scanning, external filters and custom filters would eat up the limited threads too fast to be run within this framework and they would need to create a queuing mechanism similar to what they have with IMail in order to avoid it. One other note. I had previously used the Windows registry hack to enable a native tarpitting feature in MS SMTP with even worse affects. The built-in tarpitting in MS SMTP will delay all 5xx error codes by the time that you set, and this included the 552 error used when messages are over the maximum size. The result of this terrible oversight is that a fair number of servers will not recognize the delayed 552 error and will requeue the oversized messages over and over again, and that eats up a lot of bandwidth real, real quick. ORF only delayed it's own 5xx responses generated by it's tests, so it was better to use until the thread limit was reached. Matt Panda Consulting S.A. Luis Alberto Arango wrote: Thanks a lot for the follow up and answer to your own post. It may help us in the future. You are very kind.I am glad you were able to solve the problem. regards Luis Arango-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Matt Sent: Miércoles, 04 de Enero de 2006 08:37 a.m. To: [email protected] Subject: Re: [Declude.JunkMail] OT: Issues with Windows 2003 FTP service Good morning all, I figured that I might save those that might respond some time...I found and fixed the issue. Turns out that the MS SMTP part of the metabase was still corrupt in some way...not sure exactly how...and this was causing FTP of all things to behave very, very slowly (while MS SMTP was operating normally). After a lot of playing around with things I figured out that it was the MS SMTP segment of the metabase that when enabled as it was originally would cause FTP to drag, and I also found that stopping the MS SMTP service would cause FTP to return to normal. Why??? Who really knows, but when my metabase was corrupted, it was a corruption in the MS SMTP portion of the file and somehow it is still bad (I'm thinking that my backup copy that I restored had the error that eventually caused the corruption). Thanks, Matt Matt wrote: |
- Re: [Declude.JunkMail] OT: Issues with Windows 2003 FTP s... Matt
- Re[2]: [Declude.JunkMail] OT: Issues with Windows 20... Sanford Whiteman
- RE: [Declude.JunkMail] OT: Issues with Windows 2003 ... Colbeck, Andrew
