MS Exchange Email : Undeliverable email

Posted on 2014-12-22
Medium Priority
Last Modified: 2016-06-19
Hello all

We are getting an email undeliverable message sending to a specific user.  We are also having issues receiving email only from a couple of domains.    

The error code the the undeliverable email was 5.7.1. I have found the error detail but could do with some assistance in resolving it.

We are using SBS2011 on a Single Server with Sophos installed on both client and server for mail scanning.  I don't believe its a virus/spam as we can send to other domains.  

Any help would be greatly appreciated.

5.7.1: The sender isn't authorized to send e-mail messages to this e-mail address. The possible reasons for this are: 1)The session isn't authenticated and doesn't have the 'ms-Exch-SMTP-Submit' permission. 2)The session is authenticated but doesn't have the 'ms-Exch-SMTP-Submit' permission. 3)The 'MAIL FROM' command specified an address in an authoritative domain but the session doesn't have the 'ms-Exch-SMTP-Accept-Authoritative-Domain-Sender' permission. 4)The authenticated user doesn't have permission to submit on behalf of the sender address specified in the header of the message and the session doesn't have the 'ms-Exch-SMTP-Accept-Any-Sender' permission. 5)The recipient domain doesn't match any of the accepted domains and the session doesn't have the 'ms-Exch-SMTP-Accept-Any-Recipient' permission. 6)The recipient domain is rejecting all mail from this server using a block list


In the email bounce back there was this

LLAR.NET.UNIOVI.ES #530 5.7.1 Probable spam source: hostMY IP ADDRESS.in-addr.btopenworld.com:

Question by:revroy123
LVL 14

Expert Comment

by:Ben Hart
ID: 40513969
First off have you contacted the recipient to verify they have no blocks against the sending email address?  Have to checked RBLs to verify you are not blacklisted?  Can you successfully email this recipient from other addresses?
LVL 18

Expert Comment

ID: 40513978

have you checked if you are on some black list? Try with mxtoolbox.com


Author Comment

ID: 40514028
I have checked on mxtoolbox and all checks out OK apart from  a TIMEOUT      on RATS Spam.

We have tried from multiple users on the same Exchange server and they all bounce.

We have not contacted the recipient yet.  This is a brand new customer and see no reason why they would have our domain blocked.

UPDATE : We can email them from a gmail.com account
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!


Author Comment

ID: 40514104
Could it have anything to do with a PTR record?  I have seen this crop up on various websites but not something I have done before.

If so is this something I set up with BT (our ISP who control our Static IPaddress) or our Domain/Web hosting company?

Also do I set it for"domain.com" or "mail.domain.com" or internal server name "server.domain.local"


Accepted Solution

Glenn M earned 672 total points
ID: 40514132
If you've been able to send from a gmail address then either you're blacklisted somewhere or something in your mail/DNS records setup is getting you treated as spam to this users' mail server.

Are you btopenworld.com? There is something amiss with the SMTP greeting for your mail server - doesn't match the PTR record. Some sites will treat that as spam.

Whoever hosts your domain name (has the nameservers) can take care of A and PTR records.

Assisted Solution

by:Veerappan Sundaram
Veerappan Sundaram earned 664 total points
ID: 40516102
In Addition to verifying and updating A and PTR record, please set SPF record for your SMTP domain.

Also post the
NDR message that you receive
NDR message the couple of other domain people receive
LVL 17

Assisted Solution

by:Viral Rathod
Viral Rathod earned 664 total points
ID: 40518304
This is permission issue on Receive Connector.

From your description, you don't have the receive connector permissions, such as ms-Exch-SMTP-Submit permission, ms-Exch-SMTP-Accept-Authoritative-Domain-Sender permission, ms-Exch-SMTP-Accept-Any-Sender permission, ms-Exch-SMTP-Accept-Any-Recipient permission.

I recommend you set Receive connector permissions by using the EAC or the PermissionGroups parameter with the Set-ReceiveConnector cmdlet in the EMS.

Here is an article for your reference.

Understanding Receive Connectors


In order to activate the Anonymous users to relay via this connector, simply issue the following cmdlet :
Get-ReceiveConnector “TEST” | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “Ms-Exch-SMTP-Accept-Any-Recipient”

Hope my clarification is helpful.

Author Comment

ID: 40531181
Many thanks all for your input and apologies for the delay in posting.

I will look into the above this week and have also requested a reverse DNS to be setup with BT.  They have an online form for this.

Thanks and more to follow.
LVL 14

Expert Comment

by:Ben Hart
ID: 41653935
I'd like to object.. I mentioned checking to see if dude was blacklisted, same as Glenn.

Featured Post

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!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

What is the biggest problem in managing an exchange environment today? It is the lack of backups, disaster recovery (DR) plan, testing of the DR plan or believing that it won’t happen to us.
Organisation is organized in a pattern to flow the day to day business, every application and system is interdepended on each other and when very important “Exchange Server downtime” happened.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…

600 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