10.11.2016 16:47, Frank Elsner пишет:
On Wed, 9 Nov 2016 15:36:33 -0600 Brad Koehn wrote:
[ ... ]
To help detect and remove the infected messages after they’ve been delivered to users’ mailboxes, I created a small script that iterates the INBOX and Junk mailbox directories, scans recent messages for viruses, and deletes them if found. The source of my script (run via cron) is here: https://gitlab.koehn.com/snippets/9 Bad idea. The user may already taken the action needed for infection. And what about legal aspects? Is it legal to redistribute malware in Germany? :-D In my country (Germany), information suppression would be punishable.
I guess main problem here is that this is not on access scan, i.e. even if virus can be already detected by newer virus database, it can be accessed by user before it rescanned.