I have a simple SMTP server installed on an IIS instance on a Win2k3 server. I want to figure out why my messages have stopped being relayed, but apparently I have to install Exchange System Manager to do this? I
|
Exchange System Manager has nothing to do with the IIS SMTP service. Happily! The IIS SMTP service is configured through the IIS Manager. If it has stopped allowing you to relay through it, the Relay Restrictions have probably been set to prevent you. I don't know of a way to check those settings from the command-line, though. | |||||
feedback
|
|
You could telnet into the server at the SMTP port (default 25, but could be different) and see if it responds with a 250 OK. If it doesn't, start with the firewall and such. | |||||
feedback
|
|
I would use a command line email tool called blat, from www.blat.net. When sending an email you can use the -superdebugT option which will give you an ascii dump the data between Blat and the SMTP server. This will show you every SMTP command sent to the server and it's result. | |||
|
feedback
|
|
JohnThePro is right, you can just use the telnet client built into most operating systems. SMTP is a simple text-based protocol, and most servers will wait patiently as you type. Often this will give you a very good idea of just where the problem lies. Try entering this at a command line.
Here's an example conversation where responses from the server are prefixed by
For (much) more detail, consult the SMTP standard, RFC 2821. If you're able to have this conversation with the server, you know that the mail message is getting at least that far. If there are still problems, you might want to use a packet sniffing tool like Wireshark to watch for outbound SMTP traffic from the server that might give you more clues. | |||
|
feedback
|