Exchange Server is not the gateway, but the email platform. All email goes through an MTA (Message transfer agent) if it's on premise. There is a tech vendor who may have these IRS emails, depending on which MTA.
I am no professional on this, but know a lot.