avast could not do it automatically unless you asked so… in Heuristic module settings.

avast could not delete clean messages. I bet on your spam killer. Why do you think this is avast related?