I have changed the Avast smtp settings to reflect gmail's smtp server
If you are using a NT based system, that should not be needed since Avast's mail protection is transparent.

Gmail uses authentication, not ssl as far as I know.

Here is a guide on how to set it up.
http://gmail.google.com/support/bin/answer.py?answer=13276#manual