Link to home
Start Free TrialLog in
Avatar of Thomas U
Thomas UFlag for Switzerland

asked on

Use Office 365 as mail relay

Dear all

A client has office 365/Exchange Online. Is it somehow possible to use the smpt.office365.com as mail relay with an authenticated user?
So emails can be sent with ANY sender email?

As we don't know with which senderemail the client will send emails, I cannot not add the user which is authenticated to ALL other mailboxes with sendas permission.
Also, It could be that there is NO Mailbox with the email configured, that they may use as sender.

My only Idea till now is, to install an internal Mailserver and user that one as relay, add the Clients fixed IP to the SPF DNS.

Maybe there is a solution to use office 365 as relay, anyone?
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"install an internal Mailserver and user that one as relay".

Yes you can follow below article and setup a relay server.
https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-configure-iis-for-relay-with-office-365
https://support.hostway.com/hc/en-us/articles/360002248059-How-to-Set-Up-An-Internal-SMTP-Service-For-Windows-Server

You will have to install the SMTP service on the relay server as described in the article.

Make sure you set all settings as per article and when you go to the advanced setting in step 6 you can mention smpt.office365.com as mail relay.