[Spambayes] Error on proxy connection & smtp proxy doesn't see spam
sean darcy
seandarcy at hotmail.com
Wed Apr 30 19:22:20 EDT 2003
I'm trying out sb on a linux redhat 9.0 machine using evolution. The web
based configuration doesn't work, so I created this for the .ini file:
[pop3proxy]
servers:mailhost.mydomain.com <---- this is a real domain
ports:120
persistent_storage_file:/opt/spam/spambayes/data/hammie.db
add_mailid_to:header
include_prob:True
[smtpproxy]
servers:mail.optonline.net
ports:220
ham_address:ham at spam
spam_address:spam at spam
In evolution, the mail server is set to localhost:120. The smtp server is
set to localhost:220
I start up pop3proxy:
pop3proxy.py
Loading database... Done.
SMTP Listener on port 220 is proxying mail.optonline.net:25
Listener on port 120 is proxying mailhost.mydomain.com:110
User interface url is http://localhost:8880/
When evol gets the mail, it says getting pop summary, then hangs waiting for
the first message.
at the terminal window where I ran pop3proxy I get:
error: uncaptured python exception, closing channel
<__main__.ServerLineReader connected at 0x8353a4c>
(exceptions.TypeError:len() of unsized object
[/usr/lib/python2.2/asyncore.py|poll|99]
[/usr/lib/python2.2/asyncore.py|handle_read_event|396]
[/usr/lib/python2.2/asynchat.py|handle_read|130]
[/usr/bin/pop3proxy.py|found_terminator|147]
[/usr/bin/pop3proxy.py|onServerLine|215]
[/usr/bin/pop3proxy.py|onResponse|289]
[/usr/bin/pop3proxy.py|onTransaction|390] [/usr/bin/pop3proxy.py|onRetr|459]
[/usr/lib/python2.2/site-packages/spambayes/message.py|as_string|193]
[/usr/lib/python2.2/site-packages/email/Message.py|as_string|109]
[/usr/lib/python2.2/site-packages/email/Generator.py|flatten|102]
[/usr/lib/python2.2/site-packages/email/Generator.py|_write|137]
[/usr/lib/python2.2/site-packages/email/Generator.py|_write_headers|183]
[/usr/lib/python2.2/site-packages/email/Header.py|encode|412]
[/usr/lib/python2.2/site-packages/email/Header.py|_split|297]
[/usr/lib/python2.2/site-packages/email/Charset.py|encoded_header_len|341])
Is this a bug - or did I misconfigure spambayes/
Second:
I tried to "train" sb by sending spam to spam at spam. This seemed to go OK,
but when I go to the web page the "Review Messages" shows no untrained
messages.
How do these training messages show up?
thanks for any help
sean
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
More information about the Spambayes
mailing list