filter log exchange online for on prem server have sent some mails

Flavio Croce 1 Reputation point
2023-05-11T08:19:20.7566667+00:00

Morning , i have this question beacause i don't have found a solution , is possible to filter in exchange online a server on prem have sended some mail throught a SMTP in my enviroment ? inside this smtp don't have log enabled. in my infrastructure i have a application server with a service configured for use a internal smtp and that use 365 to send mails , my scope is to filter only mail sended from this only server, is possible ?

Microsoft Exchange Online
Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
616 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,386 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,999 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,462 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 45,906 Reputation points
    2023-05-11T14:40:54.4+00:00

    What do you mean by "filter"?

    If you want to allow only that one machine to use your transport then alter the permission on the transport to restrict access to just that machines' IP address.


  2. Yuki Sun-MSFT 41,016 Reputation points
    2023-05-12T05:58:16.96+00:00

    Hi @Anonymous ,

    my scope is to filter only mail sended from this only server, is possible ?

    Do you mean you want to retrieve all mails sent from the application server? If so, as far as I know, from the perspective of Exchange Online, what we can do at present is to do a Content Search using some keywords or conditions. Are those mails sent through a specific email address? If this is the case, you can try creating a content search to find mails sent from the particular email address.
    Get started with Content search


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.