Spam emails being sent out through my Excahnge 2010 server

Posted on 2016-10-18
Last Modified: 2016-10-24
I have an Exchange 2010 server and it is now sending out emails by the hundreds from one internal email address that we actually use for our backups.  It is  I need help getting this to stop or correcting this.  I am just not sure where to go.  This is actually an email address that we used to use and have but no longer do.

Question by:Lanee Kirby
  • 4
  • 3
  • 2
  • +2
LVL 90

Expert Comment

by:John Hurst
ID: 41848797
One of your machines has been hacked and is the culprit.

Can you look at the Exchange Logs and see who (what machine) is sending out the emails via Exchange.
LVL 38

Expert Comment

by:Adam Brown
ID: 41848825
Also make sure your port 25 receive connector isn't configured as an open relay. If you've configured an Open Relay connector for internal devices, make sure it isn't set up to allow access from the Internet.
LVL 63

Accepted Solution

Simon Butler (Sembee) earned 500 total points
ID: 41848869
I would disagree that it would be a hacked machine - unless the reference is to the Exchange server itself. A hacked machine simply doesn't send email via the Exchange server - that is too much hassle.

My bet is that the account has been compromised - backup@ is on the list of most frequently abused names (I maintain a list based on information from one of my client systems that logs the attacks). As Exchange will allow authenticated relaying if you have enabled it on the receive connector, that is the most likely case.

Therefore the first thing you need to do is change the password on that account. Even if that means reconfiguring backups everywhere else, until you change the password there is nothing you can do to stop the flow.
Once the account has been changed, restart MS Exchange transport. That will break the connection.

As the emails are all from the same user, removing them is easy.
Start with this blog posting:

You will probably have to adjust the parameters to catch the messages if the from field is the same. It will probably take two or three runs to get all of the messages cleared.

If you don't need authenticated relaying enabled on port 25, then disable it - which is the default configuration.

Expert Comment

by:Naushad shaikh
ID: 41848870
First change the password of that account and if you are not using that account disable it.

then start on working spam prevention and loopholes in your environment .

Author Comment

by:Lanee Kirby
ID: 41848903
I have checked the logs and it appears as if we are being a relay for another external server.  I did find several connectors that did have externally secure checked and I have now corrected that and I have made sure to uncheck aounomous from the permissions that several connectors had checked.  I have rebooted my server but the email queue is still growing by about 2-3 messages a minute. I am not sure what else to try.  Any other suggestions?
Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

LVL 90

Expert Comment

by:John Hurst
ID: 41848919
Are the new emails (queue growing) also from an external source?

Author Comment

by:Lanee Kirby
ID: 41848923
Thanks  That did it.  Changed the password and made the necessary corrections to the connectors. Thanks all!
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 41848925
The queues growing is to be expected, but that doesn't mean the problem is still there.
The Exchange queue viewer is not capable of displaying everything that is in the queue when there are a large number of messages in the queue.

Therefore as emails are delivered, more are shown. I have seen queues "grow" on a system that is completely disconnected from the internet because of that fact, so don't worry on that score.

Have you changed the password for that account? If not, then you need to - anything else is a waste of time until you do.

Author Comment

by:Lanee Kirby
ID: 41848957
I did change the password for that account and no more messages in the queue.  However, now I cannot receive any external email.  Ugh!
LVL 90

Expert Comment

by:John Hurst
ID: 41848962
Check the main Exchange setup for that

Author Closing Comment

by:Lanee Kirby
ID: 41857363
Finding the account that was compromised and changing the password fixed my issue.  Thanks so much!!

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users should you!

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now