Sending Spoofed Emails via Telnet and Analyzing Message Headers (Plus Mass Mail Deletion Script)

Introduction

1. Sending Email via Telnet (Spoofed Example)

1.1 What if? User Mailbox password compromised and send email using VPN/Proxy

2. Analyze Message Header

3. Delete All Emails from All Mailboxes via Script (Exchange)

3.1. Delete email from single mailbox via PowerShell script:

Download script and save it as .ps1 extension for Single mailbox:

3.2. Delete email from all mailboxes via PowerShell script:

Download script and save it as .ps1 extension for bulk mailboxes: