AutoSpamEmailScan

3.5

AutoSpamEmailScan.ps1 is used to monitor a specific mailbox that in enterprise users can forward suspicious spam emails to a specific mailbox.
This PowerShell script can monitor the mailbox for any unread emails, grab the URLs and attachments from the emails and submit to virustotal.com, urlscan.io, Google safe browsing and OPSWAT. Script also can extract URLs from a
AutoSpamEmailScan.ps1 is used to monitor a specific mailbox that in enterprise users can forward suspicious spam emails to a specific mailbox.
This PowerShell script can monitor the mailbox for any unread emails, grab the URLs and attachments from the emails and submit to virustotal.com, urlscan.io, Google safe browsing and OPSWAT. Script also can extract URLs from a pdf file.
After the scan finished, script can generate HTML format scan report and auto reply to the senders.
Script can be run once or loop interval, if  in the init.conf is 0 means script will only run one time else the number is the loop interval seconds.

Before you run the script Install the Exchange Web Services Managed API 2.2.
https://www.microsoft.com/en-us/download/details.aspx?id=42951

Visit https://github.com/banhao/AutoSpamEmailScan to get the init.conf and Bytescout.PDF2HTML.dll, this dll file is used to convert PDF to HTML.


Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name AutoSpamEmailScan -RequiredVersion 3.5

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

FileList

Version History

Version Downloads Last updated
5.2.0 121 11/8/2022
5.1.6 109 9/21/2022
5.1.5 116 9/8/2022
5.1.4 137 8/17/2022
5.1.3 179 6/10/2022
5.1.2 175 5/31/2022
5.1.1 175 5/30/2022
5.1.0 176 5/26/2022
5.0.1 190 5/3/2022
5.0.0 190 4/29/2022
4.6.1 224 9/20/2021
4.6.0 208 7/9/2021
4.5.1 214 5/26/2021
4.5.0 204 5/19/2021
4.4.2 212 4/5/2021
4.4.1 208 3/26/2021
4.4.0 206 3/22/2021
4.3.0 219 11/13/2020
4.2.2 239 4/3/2020
4.2.1 213 4/3/2020
4.2.0 219 3/10/2020
4.1.2 210 2/11/2020
4.1.1 209 2/11/2020
4.1.0 214 1/22/2020
4.0.2 220 10/21/2019
4.0.1 207 10/18/2019
4.0 209 10/8/2019
3.62 210 10/3/2019
3.61 223 9/26/2019
3.6 211 9/17/2019
3.5 (current version) 214 9/5/2019
3.4 212 8/23/2019
3.3 217 8/20/2019
Show less