I have been fighting for several days now to keep an SMTP server running on my VPS. Let me be precise, it's not the running of the SMTP that's the problem, it's the fact that after about 30 minutes of the SMTP service running inetinfo is using about 150MB memory. After about 8 hours of running I start running out of virtual memory (I increased it to 4GB). Some investigation reveals the same IP connection constantly. I block said IP, then I see another connection come in with same two octets. Hmm, reverse dns lookup reveals no PTR record anywhere for that IP. Okay, so I block the whole subdomain. Things are okay for awhile, then the server starts becomming unresponsive again so I RDP again and notice inetinfo is growing like crazy again. So I iisreset and as soon as SMTP is started again I check and sure enough another IP is connected. I mask that sub domain again and everything is fine. This cycle has repeated every day for a week now. My exception list is growing like crazy. The fact is it's in effect causing a Denial of Service since the SMTP server is taking up so much bandwidth, I feel it's an actual attack. I was able to get reverse dns info on one of them and the address had a .tw extension and it seemed to indicate a dsl provider of some kind - further suspicion that this is an attack. I really don't want to play whitehat all day so my customers can reach the server, does anyone have any idea how to prevent this, yet still allow MX records to be delivered reliably? I don't think I can run on another port than 25 as automatic delivery of MX records doesn't look at port - only IP - and assumes port 25. I do have an identity running on another port though for customers who don't have 25 outbound available (some isp's block 25 inbound/outbound other than for their servers). Any help would be appreciative - I've read every guide and best practices white paper I could find and nothing seems to work. I've turned off anon access - then my MX records don't get delivered, same is true when I remove the identy that uses port 25. It's a true cunundrum - I can either send mail, but not recieve it, or I can recieve mail but not send it without exposing myself to an all out DDoS attack.
