SPAM email being sent through our Exchange server

Posted on 2014-02-07
Medium Priority
Last Modified: 2014-02-20
We are finding each night that someone is sending emails through our Exchange server from outside.  This is Exchange 2010 and I am certain that we have the open realy turned off.  In the Receive connector we do NOT have externally secured checked off on the Authentication tab.  I believe that is how you turn on or off an open realy.  I also have set on the network tab to only receive email from our internal networks.  However these emails are originating from ip addresses outside of our networks.  We have a Barracuda SPAM filtering gateway so all the spam is being stopped there, however, we want to find a way to say that only email FROM our organization is permitted on the Exchange server.  Last night the emails were all coming FROM test@live.com.  The night before they were coming from e-mails@yahoo.com.  Only email from tbj.org (our domain) should be permitted to leave our exchange server.

Can anyone help me to set this up?

Question by:pgoldwasser
  • 2
  • 2
LVL 15

Expert Comment

ID: 39841808
This could still be coming from an infected machine on your network.

Check your Event logs for ID 1708 and see if a user is hitting the exchange constantly. This may give you a clue.

Check tips:


Expert Comment

by:Leon Kammer
ID: 39841898

Just did a short test, and your server is not allowing external relays either to or from live.com or yahoo.com, so it must be internal. (i have removed the ip and your servername)

Connecting to

220 ESMTP [889 ms]
EHLO smtp.live.com
250- Hello smtp.live.com [], pleased to meet you
250-SIZE 100000000
250 HELP [686 ms]
MAIL FROM: <me@live.com>
250 Sender <me@live.com> OK [686 ms]
RCPT TO: <me@yahoo.com>
550 relay not permitted [718 ms]



Author Comment

ID: 39842347
No 1708 in my event logs.  I had thought it might be internal from the start, but when the emails would hit the server the source ip would show as outside ipaddresses.  I could find no evidence of internal ip addresses in any log that I look at.

Accepted Solution

Leon Kammer earned 1500 total points
ID: 39842384

I noticed you are using barracuda.
Have you checked your barracuda filter outgoing rules?

Just tried again spoofing a domain name and got the response
RCPT TO: <hitchhiker@slartibartfast.co>
550 No such domain at this location


LVL 15

Expert Comment

ID: 39842414
Make sure your server is patched.

Change pc passwords.

Update and run antivirus and malware checks on internal machines to be sure.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes Top 9 Exchange troubleshooting utilities that every Exchange Administrator should know. Most of the utilities are available free of cost. List of tools that I am going to explain in this article are:   Microsoft Remote Con…
Exchange database can often fail to mount thereby halting the work of all users connected to it. Finding out why database isn’t mounting is crucial and getting the server back online. Stellar Phoenix Mailbox Exchange Recovery is a champion product t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

621 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