AutoSpamEmailScan

4.0.1

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.

Please check the License before you download this script, if you don't agree with the License please don't download and use this script. https://github.com/banhao/AutoSpamEmailScan/blob/master/LICENSE

This version 4.0.1 update the init.conf file so please go to https://github.com/banhao/AutoSpamEmailScan to download the init.conf

Show more

Installation Options

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

Install-Script -Name AutoSpamEmailScan -RequiredVersion 4.0.1

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 104 11/8/2022
5.1.6 104 9/21/2022
5.1.5 113 9/8/2022
5.1.4 134 8/17/2022
5.1.3 176 6/10/2022
5.1.2 172 5/31/2022
5.1.1 172 5/30/2022
5.1.0 173 5/26/2022
5.0.1 187 5/3/2022
5.0.0 187 4/29/2022
4.6.1 221 9/20/2021
4.6.0 205 7/9/2021
4.5.1 211 5/26/2021
4.5.0 201 5/19/2021
4.4.2 209 4/5/2021
4.4.1 205 3/26/2021
4.4.0 203 3/22/2021
4.3.0 216 11/13/2020
4.2.2 236 4/3/2020
4.2.1 210 4/3/2020
4.2.0 216 3/10/2020
4.1.2 207 2/11/2020
4.1.1 206 2/11/2020
4.1.0 211 1/22/2020
4.0.2 217 10/21/2019
4.0.1 (current version) 204 10/18/2019
4.0 206 10/8/2019
3.62 207 10/3/2019
3.61 220 9/26/2019
3.6 208 9/17/2019
3.5 211 9/5/2019
3.4 209 8/23/2019
3.3 214 8/20/2019
Show less