Relayed email from printer/scanner to different domain in the same office 365 tenant. RRS feed

  • Question

  • I need to relay email from printer/scanner using our internal exchange 2013 server "EX1" ( domain). Even I need to allow email to other domains like
    Our user mailboxes are already in Office 365.
    Internal exchange server has a send connector setup to send email through "" smart-host for "*" fqdn.
    Other domain like are federated to same Office 365 tenant as
    Currently I can't scan from scanner (setup to send mail through EX1) to . It says EX1 is not in the allowed senders list for domain.
    I think one way to solve it is to add EX1 to the spf record for xyz,com. 
    We need to do this for lot of domains.

    I want to find out if there is a better way. Can office 365 route internally between and without doing spf check as domain is in same Office 365 tenant as
    Sunday, April 14, 2019 3:24 PM

All replies

  • Did you set up a hybrid configuration?  If so, this should pretty much work properly.  If not, you should make sure you have a valid send connector in Exchange 2013 and a valid inbound connector in Exchange Online so that mail will flow properly.

    I have seen it when the hybrid server's IP address isn't in the SPF record for the domain and it causes the message to be marked as spam, so that's something you may need to fix.  The SPF record would be for the sending SMTP address's domain.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Sunday, April 14, 2019 9:31 PM
  • Hi M_C_7,

    I'm just writing to check how's everything going? If you have any questions or needed further help on this issue, please feel free to post back. If the issue has been resolved, please mark the helpful replies as answers, this will make answer searching in the forum easier and be beneficial to other community members as well.

    Thanks for your understanding.

    Best Regards,
    Niko Cheng

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Tuesday, April 16, 2019 9:15 AM