Hi,
i was looking for a simple way to mass delete quarantine mails.
I asked Sophos support, but they will not provide a script to mass delete mails in the SMTP quarantine.
They are willing to delete the complete SMTP quarantaine, mail queue needs to stopped for about 10 min.
So, i tried a simple way.
I used the Mini Mouse Macro Recorder and started to delete mails in bulk.
The macro is realy simple, it uses some mouse clicks at a given position,
waits for a color change of the button, clicks on delete and waits for the green confirmation pop up on top.
Mini Mouse is mighty at all!
So you only need to open the SPAM quarantine tab, select your time frame and maybe some filter and click Filter.
In my situation i had about 25000 spam mails i wish to delete from 2019 - 03/2020.
This is the script (just change the mouse position and the colors). This took me about 15 minutes to sort this out.
Maybe the delay in ms needs to be larger.
Let the Macro run for a while in a loop and you are done.
1 | 669 | 498 | 100 | Left Click Down
2 | 669 | 498 | 100 | Left Click Release
3 | IF | PIXEL COLOR | Color [R=25, G=135, B=203]::At Location [X:669 Y:567] | IS THE SAME | CONTINUE
4 | 1278 | 465 | 100 | Left Click Down
5 | 1278 | 465 | 100 | Left Click Release
6 | IF | PIXEL COLOR | Color [R=227, G=244, B=199]::At Location [X:699 Y:115] | IS THE SAME | CONTINUE
7 | IF | PIXEL COLOR | Color [R=227, G=244, B=199]::At Location [X:699 Y:115] | IS NOT THE SAME | CONTINUE
You must check that the resolution matches the screen, in a Remote Session to my Desktop PC i had a missmatch.
Better use a local PC with fixed resolution.
Year 2019 and till 08.2020 was deleted fine, 60 min
I hope this will helpfull for others
AND the best
This Solution is free and works ...
This thread was automatically locked due to age.