locked
IIS SMTP mail server relay RRS feed

  • Question

  • I have SMTP mail relay servers... how can i count the mails in a day. 
    Tuesday, March 10, 2020 7:40 AM

All replies

  • Hi,

    Do you mean you have create a dedicated receive connector on Exchange server to allow anonymous relay, and you want to know how many emails are relayed through Exchange server?

    If so, you can use message tracking log to check which connector ID is used for SMTP replay:

    Get-MessageTrackingLog -MessageSubject <subject> -Sender <sender address>|select timestamp,EventID,Source,ConnectorID

    Then use the connector ID and specific Event ID or Source to count these emails. Here is a script about counting Total Emails Sent and Received Per Day and Size, you can check and make some modification on it.

    Regards,

    Lydia Zhou


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

    Wednesday, March 11, 2020 2:59 AM
  • Just checking in to see if above information was helpful. If you have any questions or need further help on this issue, please feel free to post back.

    Regards,

    Lydia Zhou


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

    Tuesday, March 17, 2020 7:23 AM