Howto: Setup Thunderbird with Avast Antivirus

Hello again, this is a guide for all of you using the best e-mail client Thunderbird with Avast Antivirus. The guide is originally a blog post from avast forums but it was a bit confusing so I’m trying to make it a bit more understanding.

The problem
In order to make Avast scan the incoming and outgoing emails with Thunderbird there is some settings and setups to do. Because Thunderbird encrypts the emails using SSL or TLS Avast cant scan them for virus and other damaging code. To make this work, thunderbird has to be set to send and receive unencrypted so Avast can scan them and then we need to encrypt them once again.

Todo this…
We need 2 programs,

Then, unpack and install OPENSSL and STUNNEL wherever you want.

Now we need to make some config changes in stunnel, goto the map you just installed stunnel in. Rightclick on stunnel.conf and open with notepad, if you dont know how to do this you could create a new text document.





This is the settings used for gmail. You can use your ISP custom settings as well by changing smtp and pop. I will go through this guide using gmail.
Save this document as stunnel.conf

Now doubble click on Stunnel.exe (the icon that looks like a network map). Now you should be able to see the same network-map in the right corner of the screen. Double click it to view the Log to see if there is any errors, it should look something like this:

Config Avast
Right-click on the avast logo in the right corner,
Choose On-Access protection control
Goto Internet Mail
Click on the Customize button.
Goto Redirect.

Enter these ports:
POP: 110,1110,1120,11110
SMTP: 25,215,225,1025,11025

Uncheck “Ignore local connection”
It should look something like this:

Now avast is setup and we need to make the final touches in Thunderbird.

Thunderbird settings
In thunderbird, goto Tools / Account settings

Server settings for POP is:

  • Server: localhost
  • Port: 11110
  • Username: Your gmail accountname
  • Never use secure settings.

Server settings for SMTP:

  • Server: localhost
  • Port: 11025
  • Username: Your gmail username
  • Never use secure settings.

Thats it!
Now thunderbird should be able to send and recieve emails. If you are using any anti SPAM software, check out the blog post on avast forum for information of how to implement that.

Here is some related links:

3 Responses to “Howto: Setup Thunderbird with Avast Antivirus”

  1. 1 Jake June 26, 2008 at 2:39 am

    This worked . . . sort of. I can receive my email now, but I still can’t send email. I have everything set up exactly as you described, and I even tried using ports 587 and 25 instead of 465, but none of those worked.

  2. 2 Holli August 8, 2008 at 5:19 am

    Hello, I followed your directions and in the account settings of thunderbird I did as you said but the default port on my is 25. If I put 11110 in it wont get my mail. I also was a little confused about the stunnel and ssl. Not sure if you wanted me to edit the stunnel for avast or gmail. It looked like just for gmail so I didn’t edit anything in the notepad.

    Also will this be scanning for viruses in my email?


  3. 3 mydigitalbath August 9, 2008 at 9:31 pm

    Holli, stunnel is used because mail i sent cryptated with ssl, and avast needs the mails decrypted to be able to scan them. So you need stunnel eaven if you use another email than gmail.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: