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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

719 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