473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Interface to Exchange SMTP Server?

I have some ideas that I would like to try in eliminating DoS, unwanted SMTP
connections/sessions, etc. to my Exchange server. To do this I need to write
code that examines each SMTP attempt to connect (HELO) message and determine
whether I would like to allow them to connect or not and then notify Exchange
to allow or disconnect the session
Is there an API or SDK that allows me this degree of interaction and control
over Exchange? If so, what options do I have?
I am using Exchange 2003 on Windows 2003 Enterprise Service. I would prefer
to use C#, but unmanaged C++ is also fine
thanks
M

Nov 16 '05 #1
1 1960
The most common way to do things like this is not to intercept the
connection to Exchange, but to replace it. Create your app as an SMTP
server proxy. The internet will connect to your app if they want to send
your company an e-mail. Your app can decide if it should pass along that
message to exchange. You can either capture the entire message (common in
apps that are trying to stop a DoS attack) or you can capture each command
and forward it. If you do the former, you get much more control, but you
need to develop a complete system to capture, store, and forward e-mail. If
you do the latter, your code is simpler, but less effective.

You should be able to download most of the code for an SMTP server in .Net
from one of the online sites. That will give you a start.
There are commercial products that do this, of course. You may want to
consider investing a few thousand dollars if you are just doing this for
your own organization. If on the other hand, you are developing a new
commercial package... I wish you the best of luck and prosperity.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Comconix" <Co******@discussions.microsoft.com> wrote in message
news:0E**********************************@microsof t.com...
I have some ideas that I would like to try in eliminating DoS, unwanted
SMTP
connections/sessions, etc. to my Exchange server. To do this I need to
write
code that examines each SMTP attempt to connect (HELO) message and
determine
whether I would like to allow them to connect or not and then notify
Exchange
to allow or disconnect the session
Is there an API or SDK that allows me this degree of interaction and
control
over Exchange? If so, what options do I have?
I am using Exchange 2003 on Windows 2003 Enterprise Service. I would
prefer
to use C#, but unmanaged C++ is also fine
thanks
M

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: StinkFinger | last post by:
My IIS / PHP / MySQL and Exchange are on the same box. To allow PHP to send mail I need to add my servers IP to the "Granted" list for the SMTP Virtual Server in Exchange, however, this opens me up...
1
by: Brian Henry | last post by:
Does anyone know how to send an email to an internal exchange server (internal email only, how you can send email to a username in active directory in exchange with out a domain (@domain.com) after...
6
by: Jason | last post by:
Sorry for the post here but could not find an Exchange newgroup. I developed an application a year or 2 ago that sends SMTP email. The application allows the user to customize the text from...
2
by: Rob Meade | last post by:
Hi all, I have no knowledge of Exchange server, and have always used CDO to send emails from ASP in the past. My problem now is that the server in question doesn't have SMTP installed alongside...
2
by: | last post by:
How can I force SmtpMail class to use CDO for Windows 2000 instead of Exchange 2000. We do not use Exchange at all. I want to do this because I am having a problem sending email from the web...
8
by: Frank | last post by:
I think I've confused myself completely here :-) I have used System.Web.Mail, but am not sure if this works with Exchange Server 5.5. I asked the client if they're email server supported SMTP, and...
1
by: Gilbert Cheung | last post by:
Hello. I am writing a website for my company. There is a sign-up form that requires us to send a confirmation email to our customer. Our company uses Exchange Server 2000 as our mail server. We...
8
by: Michel Posseth [MCP] | last post by:
Hi does someone has experience with this ?? i have made a lot of apps in the past that were capable of sending e-mails the server i then talked to was a Linux SMTP server and it worked great ...
1
by: Michael D. Ober | last post by:
I am writing an application that needs to email to specific users on our Exchange server and need to query it to see if the SMTP address I will be sending to exists. The application will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.