Just I still can't find how Outlook then delete these mails automaticcly.
Outlook doesn't do that. It is the Outlook/Exchange provider in Avast that takes care of it.

Avast “reads” the mail, and only if Avast “aproves” it, it will hand it to Outlook.