I use avast! to scan secure imap email. If you want to use imap with TLS, avast! will support it with the use of OpenSSL and Stunnel. To set it up for XP, assuming you still use port 25 for TLS smtp,
1) In your email client, set
localhost:11143 for your imap server
localhost:11025 for your smtp server
Do not check "use secure"
2) In avast! email provider add
11143 to the imap ports to redirect
11025 to the smtp ports to redirect
3) With a text editor, create Stunnel.conf (or cut/paste/edit below)
Stunnel.conf, the configuration file, looks like this for secure email:
client=yes
# IMAP service listens on localhost 11143
[xxxxx-imap]
accept=localhost:11143
connect=mail.xxxxx.com:993
# SMTP service, listens on localhost:11025
[xxxxx-smtps]
protocol=smtp
accept=localhost:11025
connect=smtp.xxxxx.com:25
Replace the xxxxx connect lines with the names and ports of your ISP secure imap and smtp servers.
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.