Forum Discussion

Chris Parker's avatar
Chris Parker
Iron Contributor
Dec 29, 2016
Solved

Is it possible to tally usage by email address including aliases for incoming email?

Over the years we've accumulated five domains that all act as email aliases. Meaning, every user as at least five email addresses: user@domain1.com, user@domain2.com, etc.   I'd like to know if I c...
  • Victor_Ungureanu's avatar
    Dec 30, 2016

    Hello,

     

    From what I know, there is no prebuilt report for what you want to do, but I think you can still obtain the info you need with a bit more work. I think you can run something like this in PowerShell and obtain pretty much all you might need:

     

    Get-MessageTrace -RecipientAddress *@alias_domain -StartDate (Get-Date).AddDays(-30) -EndDate (Get-Date) -pagesize 5000 |

    Select-Object Received, SenderAddress, RecipientAddress, Subject, Status, ToIP, FromIP, Size, MessageID, MessageTraceID  | Out-GridView

     

    or simply

     

    (Get-MessageTrace -RecipientAddress *@alias_domain -StartDate (Get-Date).AddDays(-30) -EndDate (Get-Date) -pagesize 5000).count

     

     

Resources