Hi,
Does anyone here know how to convert mailscanner quarantine files to .eml format? Or any other format, that I can then convert to .eml?
Converting mailscanner quarantine files to .eml files?
Re: Converting mailscanner quarantine files to .eml files?
This was pretty time sensitive so I've found a workaround. I'm sure there's more elegant and proper ways to do this, but you can follow this if you're in a pinch:
First, add the admin user to group called mtagroup.
Then, you can use WinSCP to transfer the MailScanner quarantine files in question to your Windows PC. Once you have the files, you can filter the specific emails and add .eml extension in powershell.
First, add the admin user to group called mtagroup.
Code: Select all
usermod -a -G mtagroup admin
Code: Select all
Get-ChildItem | Where-Object {$_.LastWriteTime -like '*12:01*'} | Move-Item -Destination 'C:\Users\User\Desktop\Malware_outbreak\Initial_wave'
dir |Rename-Item -NewName {$_.Name +".eml"}