Exchange 2003 Current Sessions

On an Exchange server under Protocols-> SMTP -> Default SMTP Virtual Server -> Current Sessions ; I occasionaly see users with external IP addresses that have been connected for quite a long time,  does this mean that they are using our SMTP server for spam? How can I test if somene is using an SMTP  server to relay?

comments would be appreciated'


Who is Participating?
SembeeConnect With a Mentor Commented:
If you are using Exchange in the way that it was designed to be used (all email is sent via SMTP) then you will have three types of SMTP Sessions that could be shown.

Inbound (email coming in to your server from other people)
Outbound (Your server sending email out to other people)
Relay (which you don't want).

Therefore the sessions that you are seeing could be legitimate messages that fall in to one of the two categories that you want to accept.

With regards to the relay allowed by IP address range - you should be very careful with that feature. It is very easy to make yourself an open relay.
Ensure that the firewall or gateway device is not included in the range. A common mistake is for people to put the entire subnet in - and as the firewall/gateway is on the same subnet, Exchange allows external traffic to relay because it is coming from an internal IP address.
If you must allow relaying, then my preference is to use authenticated relaying. This makes the sending device ask for permission rather than Exchange just presuming permission. If you do go down that route, don't use the administrator account as this is attacked heavily for authenticated relaying.

It could be spam.
It may also be legitimate email where the session hasn't closed down properly.

Exchange is relay secure by default. If you server is being used as a relay for spam there are usual signs - the biggest being that there are a large number of undeliverable messages in the queues.

There are various open relay test web sites on the Internet - you could run your server through one of those to see if you are an open relay.

Exchange MVP.
An_toni_oAuthor Commented:

Hi Simon,

We currently have that server to only allow email relay from a range of Ip addresses, so should I still be able to see external email addresses not within that range in the sessions? Are the IP addresses shown the address it is going to or the address it is being sent from?

thanks for your help,

An_toni_oAuthor Commented:

Thanks for your help that is what I wanted to know.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.