created public folder - set mail enable to it
SMTP (primary): XXX@domainname.onmicrosoft.com
set Public Folder permission (from my outlook 2013) anonymous create items/
when sending test message from GMAIL to this SMTP - public folder - the message is reject
this is the error I'm getting:
AM5EUR02FT046.mail.protection.outlook.com gave this error:Recipient address rejected: Access denied. AS(201806281) [AM5EUR02FT046.eop-EUR02.prod.protection.outlook.com]
how to fix it?
That's the expected behavior, sort of. Exchange Online utilizes a feature called DBEB, which blocks messages sent to "unknown" recipients. This feature doesnt support cloud PFs, so any external email sent to them will be rejected. The workaround is to "disable" this feature by changing the domain to "Internal relay". Or sync PFs from on-premises. Details are here: https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/use-directory-based-edge-blocking