[Spambayes] Configuring sb_server for not :110 servers (995, TLS) <> Errors in DB

Vys0 vys0 at epf.pl
Mon Jun 20 16:20:07 CEST 2005


Dnia poniedziałek, 20 czerwca 2005 07:12, Tony Meyer napisał:
> > 1) how to configure Spambayes to be able to get mails from
> > servers, that communicate with mail-client not on 110 port -
> > but on 995, for example.
> > Writing host with example.host.com:995 does not work
> > example.host.com 995 neither
>
> You need to set the "pop3proxy":"use_ssl" option to "automatic" (or True).
> This should get POP3 over SSL working with 1.1a1.  Note that this is new in
>
> 1.1, and so needs more testing.  It works here, though.  However, see below:
 got it to work ... for a moment.
It got my email once, and after second try (without changing anything I got 
those:
in command line:
--------------------
[vys0 at agnich spambayes]$ sb_server.py
SpamBayes POP3 Proxy Version 1.1a1 (April 2005)

Loading database... Listener on port 1210 is proxying www.maximail.pl:110
Listener on port 1211 is proxying zasp.zasp.pl:110
Listener on port 1212 is proxying hydral.com.pl:110
Listener on port 1213 is proxying nowyport.pl:110
User interface url is http://localhost:8880/
Loading database... Listener on port 1210 is proxying www.maximail.pl:110
Listener on port 1211 is proxying zasp.zasp.pl:110
Listener on port 1212 is proxying hydral.com.pl:110
Listener on port 1213 is proxying nowyport.pl:110
Listener on port 1214 is proxying wiedzmin.org:110
Can't use SSL
Loading database... Listener on port 1210 is proxying www.maximail.pl:110
Listener on port 1211 is proxying zasp.zasp.pl:110
Listener on port 1212 is proxying hydral.com.pl:110
Listener on port 1213 is proxying nowyport.pl:110
Listener on port 1214 is proxying wiedzmin.org:995
Can't use SSL
error: uncaptured python exception, closing channel <__main__.ServerLineReader 
connected wiedzmin.org:995 at 0xb76350cc> (socket.sslerror:(8, 'EOF occurred 
in violation of protocol') 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|read|69] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|
handle_read_event|390] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asynchat.py|
handle_read|88] [/usr/bin/sb_server.py|recv_ssl|205])
error: uncaptured python exception, closing channel <__main__.ServerLineReader 
connected wiedzmin.org:995 at 0xb75b88ac> (socket.sslerror:(8, 'EOF occurred 
in violation of protocol') 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|read|69] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|
handle_read_event|390] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asynchat.py|
handle_read|88] [/usr/bin/sb_server.py|recv_ssl|205])
error: uncaptured python exception, closing channel <__main__.ServerLineReader 
connected wiedzmin.org:995 at 0xb75b8b0c> (socket.sslerror:(8, 'EOF occurred 
in violation of protocol') 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|read|69] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|
handle_read_event|390] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asynchat.py|
handle_read|88] [/usr/bin/sb_server.py|recv_ssl|205])
Can't use SSL
error: uncaptured python exception, closing channel <__main__.ServerLineReader 
connected wiedzmin.org:995 at 0xb759ce4c> (socket.sslerror:(8, 'EOF occurred 
in violation of protocol') 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|read|69] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|
handle_read_event|390] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asynchat.py|
handle_read|88] [/usr/bin/sb_server.py|recv_ssl|205])
error: uncaptured python exception, closing channel <__main__.ServerLineReader 
connected wiedzmin.org:995 at 0xb76ebb4c> (socket.sslerror:(8, 'EOF occurred 
in violation of protocol') 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|read|69] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|
handle_read_event|390] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asynchat.py|
handle_read|88] [/usr/bin/sb_server.py|recv_ssl|205])
Can't use SSL
error: uncaptured python exception, closing channel <__main__.ServerLineReader 
connected wiedzmin.org:995 at 0xb76ebf4c> (socket.sslerror:(8, 'EOF occurred 
in violation of protocol') 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|read|69] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|
handle_read_event|390] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asynchat.py|
handle_read|88] [/usr/bin/sb_server.py|recv_ssl|205])
Can't use SSL
Can't use SSL
Can't use SSL
Can't use SSL
Can't use SSL
error: uncaptured python exception, closing channel <__main__.ServerLineReader 
connected wiedzmin.org:995 at 0xb489a9cc> (socket.sslerror:(8, 'EOF occurred 
in violation of protocol') 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|read|69] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|
handle_read_event|390] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asynchat.py|
handle_read|88] [/usr/bin/sb_server.py|recv_ssl|205])
Can't use SSL
Can't use SSL
Can't use SSL
error: uncaptured python exception, closing channel <__main__.ServerLineReader 
connected wiedzmin.org:995 at 0xb77ce22c> (socket.sslerror:(8, 'EOF occurred 
in violation of protocol') 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|read|69] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asyncore.py|
handle_read_event|390] 
[/usr/src/build/475206-i386/install/usr/lib/python2.3/asynchat.py|
handle_read|88] [/usr/bin/sb_server.py|recv_ssl|205])
-------------------------

and few error messages, 1 for each account, with connection error, like: 
~~(translation from Polish version)
~~Error connecting to 192.168.1.144 (localhost)
~~Server did not reply correctly/adequatly
~~pop [0.3.7] - Teaspoon stirs around again <1119276806.1105F321 at Llywellyn> 

Does option "use_ssl" enable - or ever force - using it for all configured 
servers?
Here is my .INI file:

[pop3proxy]
listen_ports:1210, 1211, 1212, 1213, 1214
remote_servers:www.maximail.pl, zasp.zasp.pl, hydral.com.pl, nowyport.pl, 
wiedzmin.org:995
use_ssl:True
[Storage]
cache_expiry_days:14
cache_use_gzip:True

If you could help me with this, I would appreciate. Switching to ssl/non_ssl 
ocnfig might be a bit ... tireying :) as I need one more SSL server with lots 
of mails to be added.


More information about the Spambayes mailing list