Using Avast with stunnel but without a spam filter:I have had success with Thunderbird 1.0.2 and stunnel.
I don't need a spam filter since the ISP does that job for me (and quite well).
It was a bit confusing in previous posts to see the references to Gmail and setting it up to use a spam filter so I thought I would post a more generic setup where no spam filter was needed and a more generic ISP was used.
Here is what works for me:
stunnel.conf looks like this (needless to say you must replace
ISPname with the actual name of your ISP):
# stunnel client for ISPname
client=yes
# POP3 service, listens on localhost:11110
[ISPname-pop3s]
accept=localhost:11110
connect=mail.ISPname.com:995
#SMTP
[ISPname-smtps]
protocol=smtp
accept=localhost:11025
connect=mail.ISPname.com:587
I think the above ports (995 and 587) are quite standard values for a lot of ISPs.
In Thunderbird, you go to Server Settings and fill in the setting for your account as follows:
POP server settings:
ServerName is 127.0.0.1
Port is 11110
User name is in the following format: username@mail.ISPname.com
Please note that when Avast is being used by itself (without SSL), the format for username is
username#mail.ISPname.com which is something I forgot to change when I was implementing SSL. So don't forget to change # to @ when you do this.
smtp settings:
ServerName is 127.0.0.1
Port is 11025
Put a check mark for "User name and password:"
In the user name field ONLY put your user name. Do not put the domain. At least this is what I had to do to get outgoing messages to work for my ISP. When you were using the regular non-SSL mail with Avast, you didn't need to supply this user name but now that we are using stunnel you must supply it.
I am using Avast 4.6. If you try to make changes to the avast.ini file as has been noted in previous posts, your changes will be futile because they will lost when you reboot. Avast will rewrite the ini file on system restart. Note - this was my fault, I did not notice those instructions were for the 4.5 version. So if you have Avast 4.6 don't even think about editing the avast.ini file. The way you must do it is right-click on the avast systray icon, select
On-access Protection control, select
Internet Mail, select
Customize, click on
Redirect tab and change redirected ports so that POP is 11110 and smtp is 11025. Click OK.
That is it. Thunderbird will ask for your email password because you have changed settings but after that it is perfect. You can then click on the stunnel icon and see that the communication is happening on secure channels which is very comforting

.
I think ISPs are encouraging people to use secure mail, so I have changed all my accounts accordingly.