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:

will try this one, if ever I get that thing working :)

> > 2) and here comes another.
> > Yesterday I set up all the stuff, it worked fine. Switched
> > the machine off.
> > Turned it on today - launched sb_server.py - launched KMail
> > .. and got lots
> > of errors in console window, with lots of /python paths,
> > ending with DBError
> > run recovery -- PANIC, or something like this
>
> [...]
>
> As someone else said, 1.1a1 contains a significant bug with sb_server, so
> it shouldn't be used.  You can use 1.0.4 (get rid of the dead databases)
> and it should be fine.  This leaves you without the SSL support, of course.
>  So you have two options:
>
>   1.  Use 1.0.4 and something like stunnel: see
> <http://www.engelassociates.net/email.html> for an example.
>
>   2.  Use source from CVS (where the 1.1a1 is fixed).
>
> =Tony.Meyer

Tried to do it:
cvs'ed using commands from http://cvs.sourceforge.net/viewcvs.py/spambayes/ as 
module giving "spambayes" without ""
It created new dir in my spambayes1.0.4 dir.
So I cd'ed there. Made setup.py build. Made setup.py install -- force (with 
"su" to be able to write to needed dirs).
Launched sb_server.py (it was 1.1a1 again). And ended with that:

-------------------------
[EMAIL PROTECTED] spambayes]$ sb_server.py
SpamBayes POP3 Proxy Version 1.1a1 (April 2005)

Loading database... User interface url is http://localhost:8880/
Loading database... Listener on port 1210 is proxying www.maximail.pl:110
Traceback (most recent call last):
  File "/usr/bin/sb_server.py", line 1096, in ?
    run()
  File "/usr/bin/sb_server.py", line 1090, in run
    start()
  File "/usr/bin/sb_server.py", line 1025, in start
    main(state.servers, state.proxyPorts, state.uiPort, state.launchUI)
  File "/usr/bin/sb_server.py", line 1005, in main
    Dibbler.run(launchBrowser=launchUI)
  File "/usr/lib/python2.3/site-packages/spambayes/Dibbler.py", line 727, in 
run
    asyncore.loop(map=context._map)
  File "/usr/lib/python2.3/asyncore.py", line 193, in loop
    poll_fun(timeout, map)
  File "/usr/lib/python2.3/asyncore.py", line 108, in poll
    r, w, e = select.select(r, w, e, timeout)
KeyboardInterrupt
----------------------
I did Ctrl+C to quit.
NOTE: I have had same error before I did use CVS, with 1.0.4 :/
What am I doing wrong ? :(
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to