• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 899
  • Last Modified:

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

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
David Bird
Asked:
David Bird
  • 5
  • 3
1 Solution
 
tshearonCommented:
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
 
David BirdPartnerAuthor Commented:
Nope.  That didn't help.  But thank you for the suggestion.
0
 
tshearonCommented:
Can you provide the error you are receiving?
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
David BirdPartnerAuthor Commented:
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
 
tshearonCommented:
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
 
David BirdPartnerAuthor Commented:
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
 
David BirdPartnerAuthor Commented:
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
 
David BirdPartnerAuthor Commented:
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

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now