Error on proxy connection & smtp proxy doesn't see spam
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@spam spam_address:spam@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@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
4/30/2003 5:22:20 PM, "sean darcy" <seandarcy@hotmail.com> wrote:
at the terminal window where I ran pop3proxy I get:
This looks like a bug. Would you mind making a tar of a mail that causes this error, so I can recreate and diagnose?
Is this a bug - or did I misconfigure spambayes/
Second:
I tried to "train" sb by sending spam to spam@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?
They simply are used to train your database, then discarded. The Review Messages page is used for messages that the pop3proxy filters. c'est moi - TimS http://www.fourstonesExpressions.com http://wecanstopspam.org There are 10 kinds of people in the world: those who understand binary, and those who don't.
participants (2)
-
sean darcy -
Tim Stone - Four Stones Expressions