To set up SSL gmail with avast!, using Stunnel and openSSL, you need to do 3 things:
1) In your email client, use
localhost:11111 for your pop server
localhost:11026 for your smtp server
Do not check "use secure"
2) In avast! email provider add
11111 to the pop3 ports to redirect
11026 to the smtp ports to redirect
3) With a text editor, create Stunnel.conf (or cut/paste below)
Stunnel.conf, the configuration file, looks exactly like this for gmail:
client=yes
# POP3 service, listens on localhost:11111
[gmail-pop3s]
accept=localhost:11111
connect=pop.gmail.com:995
# SMTP service, listens on localhost:11026
[gmail-smtps]
protocol=smtp
accept=localhost:11026
connect=smtp.gmail.com:587
You need to download and install OpenSSL from
http://www.openssl.org/related/binaries.html and Stunnel from
http://www.stunnel.org/download/binaries.html and install them. Stunnel can either be installed as a windows service or added to your startup group. Put stunnel.conf in the same folder as stunnel.
There are a large number of users of secure email with avast! who can help here in the forum if you have problems/questions. Give it a try!