OK,
I think I have solved this problem. Here is my configuration:
I am trying to configure ThunderBird - Spamhilator-Avast-Stunnel pour GMail.
I have deactivated SSL everywhere leaving Stunnel to take care of this.
IN TB I have the following account set :
Server name : 127.0.0.1 Port : 120 (listened by Spamhilator)
Username: 127.0.0.1&myaccountname&11110 (port used by Stunnel)
(11110 is the port that will be used by Stunnel)
In Avast.ini I have:
[MailScanner]
...
PopRedirectPort=110,1110,1120,11110 #(We ask Avast to listen to this port -11110 )
SmtpRedirectPort=25,215,225,1025,11025
IgnoreLocalhost=0
The last line was missing
In Stunnel I have:
client=yes
[gmail-pop3s]
accept=127.0.0.1:11110 #Here the error was localhost instead of 127.0.0.1
connect=pop.gmail.com:995
I get now in the bottom of messages from gmail:
---
avast! Antivirus: message Entrant propre.
Base de donnÚes des virus (VPS): 0502-3, 14/01/2005
Test du: 14/01/2005 19:23:18
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.comI think that this structure could be generalized to other clients... The parts that must be adapted are the port listened by the SPAM filer (120 for Spamhilator) and the codification of the server and user names and the port to listen (11110) for the SPAM filter and AVAST. The rest should be quite generic and transposable.
I need now to launch stunnel as a service (using stunnel -install)
Murat