Solved

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

Posted on 2014-09-12
8
569 Views
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?

thanx
0
Comment
Question by:davebird
  • 5
  • 3
8 Comments
 
LVL 8

Expert Comment

by:tshearon
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.
0
 

Author Comment

by:davebird
ID: 40320269
Nope.  That didn't help.  But thank you for the suggestion.
0
 
LVL 8

Expert Comment

by:tshearon
ID: 40320317
Can you provide the error you are receiving?
0
 

Author Comment

by:davebird
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 1.2.3.4:14307250-8BITMIME250-ENHANCEDSTATUSCODES250-PIPELINING250 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
 CLIENT -> SERVER: QUIT
 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
0
Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 
LVL 8

Expert Comment

by:tshearon
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.
0
 

Author Comment

by:davebird
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).
0
 

Accepted Solution

by:
davebird 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!
0
 

Author Closing Comment

by:davebird
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.
0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
how to add IIS SMTP to handle application/Scanner relays into office 365.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now