See - avast! 5.x: SSL Problems The Mail Shield may not scan some e-mails - see http://support.avast.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=458.

What is your ISP/email server domain and do they require SSL/TLS ?