Set Avast to log everything, under the mailscanner section in avast4.ini. It should look like:
[MailScanner] Log=20
Then send yourself a email and check Avast’s log file to see if it tells us more about what is going on.