Saturday, July 14, 2018

Exchange 2007 - Mails being returned to sender



When mails are being sent to my exchange 2007 server (from gmail) they are being returned with the message




Technical details of permanent
failure: Google tried to deliver your

message, but it was rejected by the
recipient domain. We recommend
contacting the other email provider
for further information about the
cause of this error. The error that
the other server returned was: 530 530
5.7.1 Client was not authenticated (state 13).




What can be causing this?



Answer



Generally this is because the eternal mailer (Gmail in this case) attempted to send email anonymously, when Exchange was expecting an authentication. This is generally the result of the internet-facing server (Edge or Client Access) not having a correctly configured Receive Rule for handing Internet-sourced email. The stated error messages are the kind Exchange throws when it is denying relay services to an incoming connection.



Check the "Network" tab on your Relay Connector to ensure that the entire IPv4 space is included in it (or if you're extra special lucky, the IPv6 space as well). Also check around to see if it is just Gmail, or other mailers are also throwing the error.



IIRC, by default Client Access servers are NOT configured to receive mail from the Internet without authentication, but Edge servers ARE.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...