Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Cannot relay through Exchange 2010

Posted on 2012-09-05
Medium Priority
Last Modified: 2012-09-16
I am having trouble sending an email through Exchange 2010.  I am testing with a telnet session from a Linux server, and have tried both with and w/out authentication.  Cannot figure out if the problem is my telnet/smtp dialogue, or the Exchange side.  On Exchange, I have set up a relay connector for the IP of the Linux server, as well as a user mailbox that I am sending from.  I have created a rule on the firewall to allow connections between both servers.  I have tried all combinations of authentication on the connector, and the only way I am able to send an email is with no auth on the telnet side, and also only if I send to an email address on the same domain that the connector is on (thegriddd.com).  When I try to send to an address on another domain, I get one of the following 2 errors:  When I try to send using AUTH LOGIN, and supply the base 64 username and passwords, I get similar errors.

SMTP -> ERROR: Password not accepted from server: 504 Unrecognized authentication type
SMTP -> ERROR: RCPT not accepted from server: 550 No such domain at this location

Here is the telnet session:

telnet exchange.thegriddd.com 25
Connected to exchange.thegriddd.com.
Escape character is '^]'.
220 exchange.thegriddd.com
ehlo thegriddd.com
250-spamfilter.thegriddd.com Hello thegriddd.com [], pleased to meet you
250-SIZE 100000000
250 HELP
MAIL FROM:<info@thegriddd.com>
250 Sender <info@thegriddd.com> OK
RCPT TO:<cholmes28@me.com>
550 No such domain at this location
RCPT TO:<cholmes28@me.com>        
550 No such domain at this location
RCPT TO:<cholmes@thegriddd.com>
250 Recipient <cholmes@thegriddd.com> OK
354 Start mail input; end with <CRLF>.<CRLF>
This is a test email.
250 Ok: queued as 664D2C96042
221 spamfilter.thegriddd.com Goodbye thegriddd.com, closing connection
Question by:cholmes28
  • 2
LVL 14

Expert Comment

ID: 38378884
Looks like the problem is on the Exchange side.

(Based on this part of your telnet session:

MAIL FROM:<info@thegriddd.com>
250 Sender <info@thegriddd.com> OK
RCPT TO:<cholmes28@me.com>
550 No such domain at this location            )

It's likely the case that the connector you created for the Linux server to use is not set up correctly.  Try and see if you have set it up like this guy did:


Accepted Solution

cholmes28 earned 0 total points
ID: 38388578
Actually, I figured out the issue.  The relay connector was just fine, but the problem was in a bad route on our firewall, and also some configuration settings on the Barracuda spam filter.  Since the server sending the mail was on a different network, it had to pass thru the firewall and spam filter on the Exchange network before reaching the server.

Author Closing Comment

ID: 38402933
I only received one solution, and it was long after I posted question, and while the solution was a valid thing to check, it did not help me discover the solution. Weanwhile I continued to troubleshoot on my own, and ended up figuring it out myself.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
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…

564 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