The failure would be because SpamBayes is not functioning. Until it is, you will need to revert the Windows Mail config as it was before. Once you get spambayes working, then make the client changes. My spambayes server is on a remote host, so an outbound firewall rule for tcp port 8880 was required; however, I have assumed you are running spambayes on the same system as Windows Live, so that should not be an issue. I'll do my best to guide you in the error messages you've listed below. Truthfully, it looks like some of the defaults were not set during the install; or perhaps, a default bayescustomize.ini file was not created for you.

On 10/28/2013 1:28 PM, A. J. wrote:
Dale,
Forgot to mention that I now cannot receive/send emails after making the changes you suggested.
Get this error message from Windows Live Mail:
Unable to send or receive messages for the AJ Mail account. The connection to the server has failed.
Server: 'localhost'
Windows Live Mail Error ID: 0x800CCC0E
Protocol: POP3
Port: 8110
Secure(SSL): Yes
Socket Error: 10061
A. J.
*From:* A. J. <mailto:a12...@sbcglobal.net>
*Sent:* Monday, October 28, 2013 1:23 PM
*To:* Dale Schroeder <mailto:d...@briannassaladdressing.com>
*Subject:* Re: [Spambayes] Problem with SpamBayes Proxy: Cannot configure
Dale,
I really appreciate your prompt response.
I made the changes you suggested (yellow highlight below).
But when I click on Save, I still see this message on http://localhost:8880/home:
The website cannot display the page      HTTP 500
When I click on “Refresh the page”, this is what I get:
*Errors Detected*
# 'None' is not a value valid for [SMTP Proxy Options] Train as ham address # 'None' is not a value valid for [SMTP Proxy Options] Train as spam address # 'None' is not a value valid for [SMTP Proxy Options] Lookup message in cache. Valid values are: False,True

These options should be on the main config page. The section in brackets identifies the configuration section on the web page and is located immediately below the pop3 proxy options. The 1st two can be blank, but the word "none" is not allowed. The third has only 2 options, as indicated in the error message. I believe the default is false.
#

# 'None' is not a value valid for [Storage Options] Storage file name
# 'None' is not a value valid for [Storage Options] Message information file name # 'None' is not a value valid for [Storage Options] Cache messages. Valid values are: False,True # 'None' is not a value valid for [Storage Options] Suppress caching of bulk ham. Valid values are: False,True # 'None' is not a value valid for [Storage Options] Maximum size of cached messages

Storage Options is the 2nd to last section on the main config page.
The 1st 2 options are the full paths of where you would like to store your mail databases (including the database file name). A good place would be the directory where your bayescustomize.ini file is located.
3rd value, I use true.
4th value, I use false
5th value, I use 1000000
#

# 'None' is not a value valid for [Statistics Options] Ham cutoff
# 'None' is not a value valid for [Statistics Options] Spam cutoff

These should be located at the bottom of the main config page. I am currently using 0.6 for spam and 0.5 for ham. If you cannot see these options on the web config page, then I surmise that your installation is corrupt, and you will need to reinstall.

You could also edit the bayescustomize.ini file manually. Below is my sanitized ini file, but note that some of these options are from the advanced and experimental config pages and are not require for a working spambayes.

[html_ui]
allow_remote_connections:* #you probably want this value to be localhost or 
127.0.0.1
default_ham_action:discard
default_spam_action:discard
default_unsure_action:discard
display_score:True

[Headers]
notate_subject:
notate_to:

header_score_digits:3
include_score:True

[Storage]
messageinfo_storage_file:/var/spambayes/spambayes.messageinfo.db  #on a Windows 
machine this would be something like file:C:\path\to\file
no_cache_large_messages:1000000
persistent_storage_file:/var/spambayes/hammie.db  #on a Windows machine this 
would be something like file:C:\path\to\file

ham_cache:/var/spambayes/pop3proxy-ham-cache #on a Windows machine this would 
be something like C:\path\to\directory
spam_cache:/var/spambayes/pop3proxy-spam-cache #on a Windows machine this would 
be something like C:\path\to\directory
unknown_cache:/var/spambayes/pop3proxy-unknown-cache #on a Windows machine this 
would be something like C:\path\to\directory
cache_expiry_days:3

[pop3proxy]
listen_ports:8110
remote_servers:mail.some_server.com
allow_remote_connections:192.168.x.* #you probably don't want anything this 
open.  I'm using one server for an entire office.

[smtpproxy]
ham_address:
listen_ports:8025
remote_servers:
spam_address:
allow_remote_connections:

[Categorization]
spam_cutoff:0.6
ham_cutoff:0.5

[Tokenizer]
summarize_email_prefixes:True
summarize_email_suffixes:True
mine_received_headers:True
x-pick_apart_urls:True
x-fancy_url_recognition:False


Dale

I have no idea how to correct these. They are not on the Configuration page. I have looked through everything and can not find where these options are presented.
_____
I now get this message on the Configuration page:
POP3 proxy running on *995*, proxying to *inbound.att.net:110*.
Active POP3 conversations: *0*.
POP3 conversations this session: *0*.
Emails classified this session: *0* spam, *0* ham, *0* unsure.
Total emails trained: Spam: *0* Ham: *0*
*More statistics...* <http://localhost:8880/stats> You can configure your SpamBayes system using the *Configuration page* <http://localhost:8880/config>. *Database has no training information. SpamBayes will classify all messages as 'unsure', ready for you to train.*

_______
There are still no messages listed:

There are no untrained messages to display. Return *Home* <http://localhost:8880/home>, or *check again* <http://localhost:8880/review>.

______

“Many suggest "C:\spambayes" instead.” -- I have no idea how to do this, and afraid to try not knowing what I’m doing.
Thanks very much for your help,
A. J.
_____________________________________________________
*From:* Dale Schroeder <mailto:d...@briannassaladdressing.com>
*Sent:* Monday, October 28, 2013 12:37 PM
*To:* A. J. <mailto:a12...@sbcglobal.net> ; spambayes@python.org <mailto:spambayes@python.org>
*Subject:* Re: [Spambayes] Problem with SpamBayes Proxy: Cannot configure
A.J.,

Based on what you have provided, it appears that the following values should be used in the web config page:

Remote Servers: *inbound.att.net:995* (att uses yahoo mail servers)
SpamBayes Ports: *8110* (although this could be any unused port)

Then, you would configure Windows Live Mail's pop3 server setting to use *localhost* (or 127.0.0.1) for the server on port *8110* (or the port you chose above). Create filters to sort the mail classified by spambayes. Security/Encryption settings (ssl, tls, etc.) would remain as you currently have them.

Additionally, everything I have read on this list suggests that on Windows 7, spambayes should _not_ be installed in "Program Files". Many suggest "C:\spambayes" instead.

HTH,
Dale


On 10/28/2013 10:57 AM, A. J. wrote:
I couldn’t find any other workable email address, though I think I checked all your pages. Your “Send Help Message” page does not provide an email address. Please forward if this is not the correct email address. “I am using SpamBayes Proxy Version 1.1b2 (March 6, 2010) (binary), with version 2.5.2 (release25-maint, Feb 23 2008, 14:19:11) [MSC v.1310 32 bit (Intel)] of Python; my operating system is Windows 6.1.7601.2 (Service Pack 1). I have trained 0 ham and 0 spam.” I don’t know if the above is an example or is actually my information. My operating system is Windows 7 Home Premium and my email program is Windows Live Mail. This is my server information, none of which as far as I can see matches the instructions on configuring. But maybe I’m just dumb (certainly true on computers).
Server information:
Incoming mail server is POP3 server.
Incoming mail (POP3):  inbound.att.net
Outgoing mail (SMTP):  outbound.att.net
Port number:
Incoming mail (POP3):  995
_________
_On the Configuration Page_
for Remote Servers, I have used “pop3.inbound.att.net:995”, “inbound.att.net”, “localhost”, possibly others.
for SpamBayes Ports, I have used 995, 110, 8110, 8880
On any of these combinations, when I click on Save, this is what I see on http://localhost:8880/home:
The website cannot display the page HTTP 500
________
When I click on Review Messages from the icon, below is what I see on http://localhost:8880/home:
*No POP3 proxies running.*
**
*There are no untrained messages to display. *[And I have been receiving emails.-ajp]
__________
I have read the FAQs, the help page, and the readme page, but cannot comprehend them, I suppose.
What do I do next?
A. J.


_______________________________________________
SpamBayes@python.org
https://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe:http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking:http://spambayes.sf.net/faq.html


_______________________________________________
SpamBayes@python.org
https://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to