can avast delete only the mail attachment ?
and take and mail corpus?
in the deman scanner?
If mail scanner finds a message with infected attachment, it is possible remove the attachment, not the whole mail.
If mail heuristic analysis finds suspicious massage, it is possible to remove the whole message (replace it with info message).
in on-demand scanner too?
I believe it’s not really different in on-access and on-demand. It’s handled by the same code…