I was able to resolve this (or something very similar) by going to Avast’s Mail Shield SETTINGS and deleting everything on the “SSL scanning” page.