Sophos XG Firewall v17 Email protection configuration not receiving inbound email

I have configured Anti-spam protection to sophos xg firewall but when I'm testing the email. All I see in mail logs is rejected saying is relay not permitted for [public IP] 

Added TAGs
[edited by: emmosophos at 11:14 PM (GMT -8) on 11 Jan 2023]
Parents Reply Children
  • Add to Vivek's post, the direction of the email is very important. If outbound emails, that would be in the "Host based relay" entries as per Vivek. But if its inbound emails, then it depends on the "Upstream host" entries. Normally it should have "Any" but for example if you have a smarthost receiving the emails before it gets to the XG, you will have the smarthost's IP address there so that it tells the XG to only receive emails from this host to make it secure.