?
Solved

Exchange 2010 relays from external website 550 SPAM EMAIL NOT ACCEPTED

Posted on 2013-01-03
4
Medium Priority
?
670 Views
Last Modified: 2013-01-04
Hi,

We have a requirement from a client to set their Exchange (2010/SBS2011) to allow their externally-hosted website to relay using authentication.

For testing purposes I've created a new Receive Connector and specified it with my IP address and Basic Authentication.  If I now use telnet to connect I can authenticate fine, however when I try to send an email I get '550 ######## SPAM EMAIL NOT ACCEPTED ########'.  It's my understanding that authenticated connections automatically bypass the Exchange AntiSpam filters and so this shouldn't happen, so I'm confused as to what's going on.  

The full telnet connection transcript is as follows:

220 *** Microsoft ESMTP MAIL Service ready at Wed, 2 Jan 2013
 17:31:17 +0000
ehlo
250-*** Hello [***]
250-SIZE 10485760
250-DSN
250 AUTH LOGIN
auth login
334 VXNlcm5hbWU6
*** UGFzc3dvcmQ6
*** 2.7.0 Authentication successful
mail from: ***
250 2.1.0 Sender OK
rcpt to: ***
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>
test
.
550 ######## SPAM EMAIL NOT ACCEPTED ########

I also tried allowing anonymous connections on that receive connector, then running the PowerShell command to set anonymous connections to bypass the Exhange AntiSpam filters, but I get the same issue.

Any help much appreciated.

KP57610
0
Comment
Question by:mtxit
[X]
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
4 Comments
 
LVL 3

Accepted Solution

by:
caronas earned 1000 total points
ID: 38739734
Your test is wrong. Dit you try a real mail?

SMTP-Mail is like this test:
data
Subject: This is a test mail

This is the ascii mail-body. The empty newline above must be there for splitting header from mail-body. The mail must end with a singe line with only a dot in it.
.

Open in new window


Try this. If the error occurs again perhaps your Firewall or Exchange-Anti-Spam-Filters react on your input. Perhaps there is an attachment in the real mail that is not allowed or the headers or body is declared as spam. Check your Firewall maillog and the application eventlog on Exchange-Server for Spam-Informations. You can enable logging on your (used) Incoming Connector and look in the logs in your Exchange-Installation-Folders (Transport -> SmtpLogs)
0
 
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 1000 total points
ID: 38739902
The error that you have posted is NOT an Exchange NDR. It is being generated by something else. I would suspect AV or Antispam software installed on the server itself is rejecting the email. You will need to look at the software configuration to see if the server can be excluded from the scanning.

Simon.
0
 

Author Closing Comment

by:mtxit
ID: 38743682
Thanks caronas and Sembee2, it turned out to be a combination of two issues - I wasn't formatting the email correctly within telnet, and a third-party anti-spam filter (Exclaimer Anti-Spam) was rejecting the mails.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
In this video we show how to create a Shared Mailbox 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 >> Sha…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses

765 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