Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange 2010 relays from external website 550 SPAM EMAIL NOT ACCEPTED

Posted on 2013-01-03
4
Medium Priority
?
683 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

604 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