If you enable HTTPS scanning for the web shield (“Scan secured connections” in the avast web shield preferences), do you
get the same error for every https page? If not, what mailserver are you connecting to?