Go Premium for a chance to win a PS4. Enter to Win


unable to send to outside recipient with relay on inside server (exchange 2013)

Posted on 2014-09-12
Medium Priority
Last Modified: 2014-09-20
I'm trying to send email to an outside vendor via an intranet server inside my domain. I've created a receive connector on my exchange server using frontend transport and custom type.  Exchange users and anonymous users in the permissions group. Scope is set to the specific web server IP address sending the mail to the relay server. I can send mail to any inside user on exchange.

I added the Get-ReceiveConnector -Identity "Server\RelayConnector" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient" at the exchange power shell prompt successfully.  
Still no love. Did I miss a step please?

Question by:David Bird
  • 5
  • 3

Expert Comment

ID: 40320252
It doesn't sound like you missed a step. You shouldn't need Exchange Users in your permissions group and I wonder if unticking that would resolve it.

Author Comment

by:David Bird
ID: 40320269
Nope.  That didn't help.  But thank you for the suggestion.

Expert Comment

ID: 40320317
Can you provide the error you are receiving?
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.


Author Comment

by:David Bird
ID: 40320322
happy to:  

SERVER -> CLIENT: 220 mail.myserver.com ESMTP Symantec Messaging Gateway
 CLIENT -> SERVER: EHLO web.server.com
 SERVER -> CLIENT: 250-mail.myserver.com says EHLO to SIZE 10485760
 CLIENT -> SERVER: MAIL FROM:<closed@myserver.com>
 SERVER -> CLIENT: 250 2.0.0 MAIL FROM accepted
 CLIENT -> SERVER: RCPT TO:<david@outsideserver.com>
 SERVER -> CLIENT: 554 5.1.2 Recipient address rejected: User unknown
 SMTP ERROR: RCPT TO command failed: 554 5.1.2 Recipient address rejected: User unknown
 SERVER -> CLIENT: 221 2.3.0 mail.myserver.com closing connection
 SMTP Error: The following recipients failed: david@outsideserver.com
 Mailer Error: SMTP Error: The following recipients failed: david@outsideserver.com

Expert Comment

ID: 40320352
Ah so you are using a symantec product as mail proxy or firewall? Is there something you need to change there to allow this? Although I'd suspect you would get an invalid sender message but you never know.

Author Comment

by:David Bird
ID: 40320385
That's an awesome suggestion!  I'll totally check that as a possibility.  My brain is full for tonight but I thank you for your rapid responses.  I'll let you know what I learn (tomorrow).

Accepted Solution

David Bird earned 0 total points
ID: 40323891
I'm not sure how to say this other than I'm a goober.  Understanding what is happening is a great way to make something work. The connector and the command in PS work if you use the right sending email address to the right server.  
thank you for your responses. Talking through things makes you see what you're staring right at!

Author Closing Comment

by:David Bird
ID: 40334200
I was attempting to authenticate the user from one domain to an open relay on a different domain. Never going to authenticate.  Sorry to have posted but thank you for your efforts.

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
In this video we show how to create an Address List 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 Organization >> Ad…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

886 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