Skip to content

Latest commit

 

History

History

Get-RejectionReport (WebServices)

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Get-RejectionReport.ps1

Sends a report to the specified E-Mail address which contains the following information:

  • Total count of processed emails.
  • Total count of sent emails.
  • Total count of received emails.
  • Total count of rejected emails.
  • Total count of rejected emails for each Filter and Action.

This version uses the NoSPamProxy WebServices to acquire the required information. This is suited for small to medium sized installations. For large installations, the Database Version version instead.

Usage

Get-RejectionReport -SMTPHost -ReportRecipient [-ReportSubject] [-NumberOfDaysToReport] [-ReportSender]`
  • SMTPHost: Mandatory. Specifies the SMTP Host which will be used to send the email.
  • ReportRecipient: Mandatory. Specifies the Recipient of the email.
  • ReportSubject: Optional. Specifies the Subject of the email. Default value is "Auswertung".
  • ReportSender: Mandatory. Specifies the Sender of the email.
  • NumberOfDaysToReport: Optional. Specifies the Number of days to report. Default value is "7".
  • TopAddressesCount: Optional. How many Addresses to include in the top Senders/Recipients/Spammers. Defaults to 5
  • ExcludeFromTopAddresses: Optional. Specify addresses to ignore when evaluating top Senders/Recipients. Useful for dropping obvious addresses from the list to get a more informative statistic

Example

.\Get-RejectionReport.ps1 -SMTPHost mail.example.com -ReportRecipient [email protected]` -ReportSender "NoSpamProxy Report Sender <nospamproxy@example.com>"

Supported NoSpamProxy Versions

This Script works for NoSpamProxy version 12.2 and higher.