From repsher at qadas.com Mon Jan 9 17:42:16 2012 From: repsher at qadas.com (repsher) Date: Mon, 9 Jan 2012 09:42:16 -0700 Subject: [Spambayes] SpamBayea 1.1a6 Message-ID: <000001ccceed$a8329500$f897bf00$@com> I keep receiving error message "error initializing the SB addin. Please restart outlook and try again". Have reloaded SB several times with the same result. L Repsher at "repsher at qadas.com" -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gary at ka1j.com Fri Jan 13 21:35:10 2012 From: Gary at ka1j.com (Gary Smith) Date: Fri, 13 Jan 2012 15:35:10 -0500 Subject: [Spambayes] Two questions regarding Spambayes In-Reply-To: <4EF5EFB4.1839.5D1823@Gary.ka1j.com> References: <4EF5EFB4.1839.5D1823@Gary.ka1j.com> Message-ID: <4F10957E.4320.2BBAC7@Gary.ka1j.com> With no replies I've gone back to V1.0.4 and I still have the same problem, Spambayes does not appear when I restart the computer, I have to manually add it from the list of programs. Is there a simple workaround? Thanks! > Hi, > > Spambayes Version 1.1b2 > Windows 7 64bit > > I just migrated my .ini to a new computer and used to have spambayes > on drive C but now I'm using a SSD and have spambayes on drive E. I > receive emails from 5 separate accounts which I read with each email > going into their respective folders in Pegasus. I migrated the old > spambayes.ini and hammie/spammie to the windows user sub-directory so > as to not have to retrain or change the settings. > > First issue is spambayes does not automatically start when Windows > starts. It used to on my old machine but I can't figure out how to do > this with the current setup; I have to manually start spambayes every > time I reboot the computer. > > The other thing is when I try to save a configuration change I get > the notice below in a web page message with the address: > http://localhost:8880/changeopts > > -------------- > > Traceback (most recent call last): > > File "spambayes\Dibbler.pyo", line 476, in found_terminator > > File "spambayes\UserInterface.pyo", line 883, in onChangeopts > > File "spambayes\ProxyUI.pyo", line 569, in reReadOptions > > File "sb_server.pyo", line 981, in _recreateState > > UnboundLocalError: local variable 'state' referenced before > assignment > ------------------------------ > > > Any suggestions on how to resolve either or both of these? > > Thanks! > _______________________________________________ > SpamBayes at python.org > http://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 > From dale at BriannasSaladDressing.com Fri Jan 13 22:53:08 2012 From: dale at BriannasSaladDressing.com (Dale Schroeder) Date: Fri, 13 Jan 2012 15:53:08 -0600 Subject: [Spambayes] Two questions regarding Spambayes In-Reply-To: <4F10957E.4320.2BBAC7@Gary.ka1j.com> References: <4EF5EFB4.1839.5D1823@Gary.ka1j.com> <4F10957E.4320.2BBAC7@Gary.ka1j.com> Message-ID: <4F10A7C4.2040105@BriannasSaladDressing.com> On 01/13/2012 2:35 PM, Gary Smith wrote: > With no replies I've gone back to V1.0.4 and I still have the same > problem, Spambayes does not appear when I restart the computer, I > have to manually add it from the list of programs. Is there a simple > workaround? > > Thanks! > > >> Hi, >> >> Spambayes Version 1.1b2 >> Windows 7 64bit >> >> I just migrated my .ini to a new computer and used to have spambayes >> on drive C but now I'm using a SSD and have spambayes on drive E. I >> receive emails from 5 separate accounts which I read with each email >> going into their respective folders in Pegasus. I migrated the old >> spambayes.ini and hammie/spammie to the windows user sub-directory so >> as to not have to retrain or change the settings. >> >> First issue is spambayes does not automatically start when Windows >> starts. It used to on my old machine but I can't figure out how to do >> this with the current setup; I have to manually start spambayes every >> time I reboot the computer. Have you installed SpamBayes as a service? If not, there's an explanation in this article: http://weblogs.asp.net/rchartier/archive/2007/03/15/thunderbird-with-spambayes-its-not-all-that-hard.aspx >> >> The other thing is when I try to save a configuration change I get >> the notice below in a web page message with the address: >> http://localhost:8880/changeopts >> >> -------------- >> >> Traceback (most recent call last): >> >> File "spambayes\Dibbler.pyo", line 476, in found_terminator >> >> File "spambayes\UserInterface.pyo", line 883, in onChangeopts >> >> File "spambayes\ProxyUI.pyo", line 569, in reReadOptions >> >> File "sb_server.pyo", line 981, in _recreateState >> >> UnboundLocalError: local variable 'state' referenced before >> assignment >> ------------------------------ I get this on Win7 X64 also and mentioned it in this list. It appears to be mostly noise, as the changes that I make to the config remain after I navigate back to the config page. If it's not causing you any problems, it appears that it is safe to ignore. Dale >> >> >> Any suggestions on how to resolve either or both of these? >> >> Thanks! >> _______________________________________________ >> SpamBayes at python.org >> http://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 From karen.mgebrova at gmail.com Thu Jan 19 20:48:31 2012 From: karen.mgebrova at gmail.com (Karen Mgebrova) Date: Thu, 19 Jan 2012 19:48:31 +0000 Subject: [Spambayes] Permission Request for 'SpamBayes: Unix/Linux pla...' Message-ID: <20cf300fb2315125ff04b6e6d9ee@google.com> Hello, I've known you website for ages, strictly speaking from year 2006. I found interesting your publication "SpamBayes: Unix/Linux platform" which I googled on http://spambayes.sourceforge.net/unix.html ! I'd love to use it in a project I'm involved with called "Armenian FCW Science", so I'm seeking your permission for translation to Armenian language. "Armenian FCW Science" is a freemium-model non-English language orientated startup with collection of scientific articles, personal notes etc. in several languages that is collaboratively edited by volunteers from around the world since 1999. Young and old, students and professors - even your neighbor could be a volunteer member. If you agree, we will credit you for your work in the resulting translation's references by stating that it was based on your work and is used with your permission, and by mentioning the name of my project "Armenian FCW Science" back to: http://spambayes.sourceforge.net/unix.html Thank you for your time and patience. I look forward to your response next week. --- Happy and successful 2012, Karen Mgebrova Yerevan, Armenia (GMT +4) From Gary at ka1j.com Fri Jan 20 13:50:44 2012 From: Gary at ka1j.com (Gary Smith) Date: Fri, 20 Jan 2012 07:50:44 -0500 Subject: [Spambayes] Rush of spam Message-ID: <4F196324.31635.18516A@Gary.ka1j.com> HI, I just returned home and downloaded the latest email. I have one non-filtered email address that is work related and I can't miss any valid email due to ISP filtering. Normally I get several hundred spam/day with this email address but usually none get to the email program without being properly ID'd by Spambayes. Today was the exception and what came in over the last 5 hours seemed to pass through the filters. Looking at the raw headers I see something from spambayes that I have not seen before. Here is a copy of what came through: X-Priority: 3 (Normal) Message-ID: <769329319.20120119165831 at doctorgary.net> To: ygary@>My_domain_name<.net Subject: Need your help! MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----------80555C1EBFDADA" X-ME-Bayesian: 0.000000 Return-Path: X-Antivirus: avast! (VPS 120120-0, 01/20/2012), Inbound message X-Antivirus-Status: Clean X-Spambayes-Exception: Traceback (most recent call last): . File "sb_server.pyc", line 499, in onRetr . File "spambayes\message.pyc", line 263, in setId . File "spambayes\message.pyc", line 119, in _getState . File "shelve.pyc", line 118, in __getitem__ . File "bsddb\__init__.pyc", line 116, in __getitem__ .DBRunRecoveryError: (-30982, 'DB_RUNRECOVERY: Fatal error, run database recovery -- fatal region error detected; run recovery') X-PMFLAGS: 570966400 0 65537 PC1U10EO.CNM And here is Spambayes x-header from another SPAM: X-Spambayes-Exception: Traceback (most recent call last): . File "sb_server.pyc", line 499, in onRetr . File "spambayes\message.pyc", line 263, in setId . File "spambayes\message.pyc", line 119, in _getState . File "shelve.pyc", line 118, in __getitem__ . File "bsddb\__init__.pyc", line 116, in __getitem__ .DBRunRecoveryError: (-30982, 'DB_RUNRECOVERY: Fatal error, run database recovery -- fatal region error detected; run recovery') X-PMFLAGS: 570966400 0 65537 PX95HI1A.CNM It appears the spambayes portion was experiencing an exception and with that 30+ SPAM made it through the filtering. Any ideas what may be the cause of this glitch? Thanks! From skip at pobox.com Fri Jan 20 17:58:50 2012 From: skip at pobox.com (skip at pobox.com) Date: Fri, 20 Jan 2012 10:58:50 -0600 Subject: [Spambayes] Rush of spam In-Reply-To: <4F196324.31635.18516A@Gary.ka1j.com> References: <4F196324.31635.18516A@Gary.ka1j.com> Message-ID: <20249.40266.557563.495026@montanaro.dyndns.org> Gary> I see something from spambayes that I have not seen before. ... Gary> X-Spambayes-Exception: Traceback (most recent call last): Gary> . File "sb_server.pyc", line 499, in onRetr Gary> . File "spambayes\message.pyc", line 263, in setId Gary> . File "spambayes\message.pyc", line 119, in _getState Gary> . File "shelve.pyc", line 118, in __getitem__ Gary> . File "bsddb\__init__.pyc", line 116, in __getitem__ Gary> .DBRunRecoveryError: (-30982, 'DB_RUNRECOVERY: Fatal error, run Gary> database Gary> recovery -- fatal region error detected; run recovery') Gary, Looks like you're running on Windows, so the recovery tools aren't available. You'll have to dump your training database and start from scratch. -- Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/ From Gary at ka1j.com Sat Jan 21 00:21:17 2012 From: Gary at ka1j.com (Gary Smith) Date: Fri, 20 Jan 2012 18:21:17 -0500 Subject: [Spambayes] Rush of spam In-Reply-To: <20249.40266.557563.495026@montanaro.dyndns.org> References: <4F196324.31635.18516A@Gary.ka1j.com>, <20249.40266.557563.495026@montanaro.dyndns.org> Message-ID: <4F19F6ED.26018.1433D73@Gary.ka1j.com> Skip, I was afraid of that. I transferred the database from my defunct laptop to this desktop and indeed, that was the resolution. I'd hate to have to do the training again, the amount of SPAM I get daily is obscene. Literally and figuratively... Thanks, Gary > > Gary> I see something from spambayes that I have not seen before. > ... > Gary> X-Spambayes-Exception: Traceback (most recent call last): > Gary> . File "sb_server.pyc", line 499, in onRetr > Gary> . File "spambayes\message.pyc", line 263, in setId > Gary> . File "spambayes\message.pyc", line 119, in _getState > Gary> . File "shelve.pyc", line 118, in __getitem__ > Gary> . File "bsddb\__init__.pyc", line 116, in __getitem__ > Gary> .DBRunRecoveryError: (-30982, 'DB_RUNRECOVERY: Fatal error, run > Gary> database > Gary> recovery -- fatal region error detected; run recovery') > > Gary, > > Looks like you're running on Windows, so the recovery tools aren't > available. You'll have to dump your training database and start > from scratch. > > -- > Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/ > From skip at pobox.com Sat Jan 21 03:18:04 2012 From: skip at pobox.com (skip at pobox.com) Date: Fri, 20 Jan 2012 20:18:04 -0600 Subject: [Spambayes] Rush of spam In-Reply-To: <4F19F6ED.26018.1433D73@Gary.ka1j.com> References: <4F196324.31635.18516A@Gary.ka1j.com> <20249.40266.557563.495026@montanaro.dyndns.org> <4F19F6ED.26018.1433D73@Gary.ka1j.com> Message-ID: <20250.8284.99600.337285@montanaro.dyndns.org> Gary> I was afraid of that. I transferred the database from my defunct Gary> laptop to this desktop and indeed, that was the resolution. I'd Gary> hate to have to do the training again, the amount of SPAM I get Gary> daily is obscene. Literally and figuratively... Pick a couple hams and a couple spams then ask it to recheck (I think you can do that). You'll be surprised how quickly it learns. Skip From richie at entrian.com Tue Jan 24 13:57:27 2012 From: richie at entrian.com (Richie Hindle) Date: Tue, 24 Jan 2012 12:57:27 +0000 Subject: [Spambayes] Permission Request for 'SpamBayes: Unix/Linux pla...' In-Reply-To: <20cf300fb2315125ff04b6e6d9ee@google.com> References: <20cf300fb2315125ff04b6e6d9ee@google.com> Message-ID: Hi Karen, > I'm seeking your permission for translation to Armenian language. Feel free! Spambayes is Open Source, and the website content can be treated in the same spirit. -- Richie Hindle richie at entrian.com http://entrian.com/blog http://twitter.com/richiehindle From bgardner at iprotech.info Wed Jan 25 01:07:57 2012 From: bgardner at iprotech.info (bgardner at iprotech.info) Date: Tue, 24 Jan 2012 17:07:57 -0700 Subject: [Spambayes] Installing SpamBayes on Windows 7 64-bit with Outlook 2007 Message-ID: <01ccdaf5$Blat.v2.7.6$65e486eb$b684d15b42b@python.org> Hello, list. I just got SpamBayes running on Windows 7 64-bit with Outlook 2007. I couldn't have done it without hints from here and there on the web, so I want to share what I've learned in hope that it will help someone else. I?m moving from 32-bit XP with Outlook 2007 to 64-bit Windows 7 with Outlook 7. Outlook is connecting to an Exchange 2003 server. The old version was v1.0.4. The new versions reports itself as v1.1b2 although it was installed from a file named 'spambayes-1.1a6.exe' downloaded 2012-01-24 from http://sourceforge.net/projects/spambayes/files/spambayes/1.1a6/spambayes-1.1a6.exe/download. I read here (http://spambayes.sourceforge.net/faq.html#can-i-share-move-my-training-data-from-one-computer-to-another) that it is best to copy the database files to the new installation, but leave the .ini file behind, so I copied the .db files in c:\documents and settings\\application data\SpamBayes to my new machine. Initially I copied them to c:\users\\appdata\local\SpamBayes, but that didn't work out. More on that later. I read here (http://spambayes.sourceforge.net/) that it is suggested to install SpamBayes to a non-standard directory, so I installed to c:\SpamBayes. Interestingly, the installer didn't think I had Outlook installed. I had to tell it to install anyway. I believe this is caused by the change in folder structure in 64-bit Windows. Outlook 2007 is a 32-bit app so it gets installed under c:\program files (x86) on a 64-bit machine. Running Outlook for the first time after installing, there was no SpamBayes toolbar and SpamBayes did not show up as an installed add-in. I started researching how to install a generic Outlook add-in and found this page (http://msdn.microsoft.com/en-us/library/bb206739%28v=office.12%29.aspx), which lead me to the registry. There was no HKCU\Software\Microsoft\Office\Outlook\Addins\SpamBayes.OutlookAddin key, so I created one by eyeball-copying the info from my old machine. Here's what I put in: 32-bit DWORD, name: CommandLineSafe, value: 0 32-bit DWORD, name: LoadBehavior, value: 3 String, name: Description, value: SpamBayes anti-spam tool String, name: FriendlyName, value: SpamBayes After that, when starting Outlook, SpamBayes appeared to work. The initial config wizard came up and the toolbar was present. However, it seemed that the system wasn't seeing my migrated .db files. I set up which folders to watch and where to move messages, then in SpamBayes Manager on the Advanced tab, I clicked the Show Data Folder button and saw that SpamBayes was expecting .db files in c:\users\\appdata\roaming\SpamBayes. So I closed Outlook and moved my .db files into that folder. Opening Outlook again, 'Training database status' on the SpamBayes Manager general tab reported the correct number of learned good and spam, so I figure it's working. Summary: Install to a non-standard directory (ex: c:\SpamBayes) .db files should be in c:\users\\appdata\roaming\SpamBayes Need appropriate info in HKCU\Software\Microsoft\Office\Outlook\Addins\SpamBayes.OutlookAddin Cheers, Brent Gardner