From dave at boost-consulting.com Thu May 1 21:57:32 2008 From: dave at boost-consulting.com (David Abrahams) Date: Thu, 01 May 2008 15:57:32 -0400 Subject: [spambayes-dev] [imapfilter] saving 1804 with new id: 1209671482 Message-ID: <878wytre4z.fsf@mcbain.luannocracy.com> Does anyone know what these messages mean? It seems like they are repeated for the same numbers during my tte training cycle, so the messages aren't really getting re-saved with the new ids? Thanks, -- Dave Abrahams Boost Consulting http://boost-consulting.com From skip at pobox.com Fri May 2 05:12:27 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 1 May 2008 22:12:27 -0500 Subject: [spambayes-dev] [imapfilter] saving 1804 with new id: 1209671482 In-Reply-To: <878wytre4z.fsf@mcbain.luannocracy.com> References: <878wytre4z.fsf@mcbain.luannocracy.com> Message-ID: <18458.34459.256241.411850@montanaro-dyndns-org.local> Dave> Does anyone know what these messages mean? It seems like they are Dave> repeated for the same numbers during my tte training cycle, so the Dave> messages aren't really getting re-saved with the new ids? The comment in sb_imapfilter.py sort of implies the message id isn't available as a unique id for the message, so it's generated its own id. It would indeed appear that the generated id isn't "taking" somehow and it has to generate a new one each time. Is that new id changing every time? (It better be.) Digging a little deeper... We try to get a header matching a couple different regular expressions. If those can't be found, a new id is generated and it's set on the message with msg.setId(newid) The code for setId in spambayes/message.py looks a little suspect though. It sets self.id then calls self.message_info_db.load_msg(self) I wonder if maybe it's obliterating the id that was just set? Skip From sjoerd at acm.org Wed May 7 22:52:49 2008 From: sjoerd at acm.org (Sjoerd Mullender) Date: Wed, 07 May 2008 22:52:49 +0200 Subject: [spambayes-dev] imap filter not closing sockets Message-ID: <482216A1.3040603@acm.org> If you run sb_imapfilter.py in daemon mode (i.e. with -l option) and you use IMAPS to talk to the IMAP server, it will slowly eat up file descriptors, and all open file descriptors will be sockets in CLOSE_WAIT state. At the end of the run() function there is the main loop which starts a new IMAPSession in each iteration, but if you look closely, you'll see that it also calls logout() on each session, and logout closes the imap session (and the socket). So all seems right. However, the Python library doesn't actually close the socket! It only removes a reference to the socket, and if the number of references drops to zero, the socket is really closed. If you use IMAPS (as opposed to plain IMAP), the SSL layer apparently adds a reference which is not destroyed, so the ref count doesn't reach zero, so the socket isn't closed. I propose that we change the logout method of IMAPSession to explicitly reach into the socket object and close the socket: Index: sb_imapfilter.py =================================================================== --- sb_imapfilter.py (revision 3176) +++ sb_imapfilter.py (working copy) @@ -293,7 +293,9 @@ for fol in options["imap", fol_list]: self.select(fol) self.expunge() + s = self.sock._sock BaseIMAP.logout(self) # superclass logout + s.close() def check_response(self, command, IMAP_response): """A utility function to check the response from IMAP commands. For more info, see the thread I started today on python-dev. -- Sjoerd Mullender From skip at pobox.com Mon May 12 15:56:34 2008 From: skip at pobox.com (skip at pobox.com) Date: Mon, 12 May 2008 08:56:34 -0500 Subject: [spambayes-dev] [Spambayes] Spambayes for Web Access client In-Reply-To: <16E2027582CDB74180896CDB4B8CC1F906AF27B2@PKCVT01.pkc.com> References: <0A1FB7B299E67E41A24BD4939D4E655C1B2D78138F@exchange.greenville.edu> <16E2027582CDB74180896CDB4B8CC1F906AF27B2@PKCVT01.pkc.com> Message-ID: <18472.19602.638965.50330@montanaro-dyndns-org.local> Jesse> I don't think so. SpamBayes gets hooked into a e-mail client (or Jesse> between the client and server), but when you use the Outlook web Jesse> interface, there is no e-mail client, just a Web client. The Jesse> server generates HTML sent to the browser and interprets the Jesse> browser's requests, but that's HTTP traffic, not IMAP or POP3. Hmmm... This does suggest a way you might get this to work, though it will take some development work. A long time ago I wrote a SpamBayes plugin for Amit Patel's proxy3 web proxy. The idea was to use SpamBayes to score web pages with the intention that you could (for example) keep your six-year-old from (accidentally?) visiting porn websites. You could do something similar for web-based email clients. Just divert the traffic for your web client through a suitable http proxy with a SpamBayes plugin. My initial code is in the SpamBayes repository in contrib/mod_spambayes.py. Like I said though, it will require some work to turn this into a proper spam filter. Any takers? Skip From will.krause at greenville.edu Mon May 12 16:12:44 2008 From: will.krause at greenville.edu (Will Krause) Date: Mon, 12 May 2008 09:12:44 -0500 Subject: [spambayes-dev] [Spambayes] Spambayes for Web Access client In-Reply-To: <18472.19602.638965.50330@montanaro-dyndns-org.local> References: <0A1FB7B299E67E41A24BD4939D4E655C1B2D78138F@exchange.greenville.edu> <16E2027582CDB74180896CDB4B8CC1F906AF27B2@PKCVT01.pkc.com> <18472.19602.638965.50330@montanaro-dyndns-org.local> Message-ID: <0A1FB7B299E67E41A24BD4939D4E655C1B2D7815D3@exchange.greenville.edu> Skip, Jesse, Thanks for the response. It's nice to know that there is someone out there who really does care about keeping end users informed. You guys are great! Will Krause VP for Technology & Planning Greenville College 315 E. College Ave. Greenville, IL 62246 (618) 664-7070 (office) (618) 795-1000 (cell) -----Original Message----- From: skip at pobox.com [mailto:skip at pobox.com] Sent: Monday, May 12, 2008 8:57 AM To: Jesse Pelton Cc: Will Krause; spambayes at python.org; spambayes-dev at python.org Subject: Re: [Spambayes] Spambayes for Web Access client Jesse> I don't think so. SpamBayes gets hooked into a e-mail client (or Jesse> between the client and server), but when you use the Outlook web Jesse> interface, there is no e-mail client, just a Web client. The Jesse> server generates HTML sent to the browser and interprets the Jesse> browser's requests, but that's HTTP traffic, not IMAP or POP3. Hmmm... This does suggest a way you might get this to work, though it will take some development work. A long time ago I wrote a SpamBayes plugin for Amit Patel's proxy3 web proxy. The idea was to use SpamBayes to score web pages with the intention that you could (for example) keep your six-year-old from (accidentally?) visiting porn websites. You could do something similar for web-based email clients. Just divert the traffic for your web client through a suitable http proxy with a SpamBayes plugin. My initial code is in the SpamBayes repository in contrib/mod_spambayes.py. Like I said though, it will require some work to turn this into a proper spam filter. Any takers? Skip From anastas at paintplan.com Tue May 13 10:06:22 2008 From: anastas at paintplan.com (Anastasy Safarov) Date: Tue, 13 May 2008 12:06:22 +0400 Subject: [spambayes-dev] PRIVATE data in your SpamBayes mailing list! Message-ID: <001601c8b4d0$3d383470$b7a89d50$@com> Dear SpamBayes Team Please, REMOVE my PRIVATE information from your list!!!! http://mail.python.org/pipermail/spambayes/2005-December/018573.html Which, I believe, came there by mistake. I never wanted it to be public and sent it PRIVATELY to one of the developers. Please, support your GOOD KARMA motto and destroy that page forever!!! P.S. I believe THIS message won't get PUBLIC somewhere TOO! Thank you, Anastasy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andoni.OConchubhair at fmr.com Tue May 13 12:20:59 2008 From: Andoni.OConchubhair at fmr.com (OConchubhair, Andoni) Date: Tue, 13 May 2008 11:20:59 +0100 Subject: [spambayes-dev] [Spambayes] PRIVATE data in your SpamBayes mailing list! Message-ID: <482B687A2184824D89145C74E6A540A2D7CF83@MSGGALCLA2WIN.DMN1.FMR.COM> You believe wrongly! You copied the mailing list with this message when you sent it. So now everyone on the list has a copy of this message on their computer. I don't know how many people that might be but I assume it is many hundreds if not thousands of people all over the world. If you send a mail to: spambayes at python.org or spambayes-dev at python.org it comes to my computer along with the computers of everyone on the list. There is nothing that anyone can do centrally to UNDO that action. They cannot reach into my computer and 'take it back'. The same applies to the original Dec. 2005 mail. If you don't mention it I wouldn't be dying to read it to see why you want it wiped, but now that you have... A :-) _____ From: spambayes-bounces at python.org [mailto:spambayes-bounces at python.org] On Behalf Of Anastasy Safarov Sent: 13 May 2008 09:06 To: tim at python.org; barry at python.org; tim at fourstonesExpressions.com Cc: spambayes at python.org; spambayes-dev at python.org Subject: [Spambayes] PRIVATE data in your SpamBayes mailing list! Dear SpamBayes Team Please, REMOVE my PRIVATE information from your list!!!! http://mail.python.org/pipermail/spambayes/2005-December/018573.html Which, I believe, came there by mistake. I never wanted it to be public and sent it PRIVATELY to one of the developers. Please, support your GOOD KARMA motto and destroy that page forever!!! P.S. I believe THIS message won't get PUBLIC somewhere TOO! Thank you, Anastasy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dvgma3 at gawab.com Wed May 21 23:19:07 2008 From: dvgma3 at gawab.com (G.C.) Date: Wed, 21 May 2008 18:19:07 -0300 Subject: inserir som O Áudio Marketing 10.com Message-ID: <20080521214612.050BA1E4003@bag.python.org> inserir som O ?udio Marketing 10.com, ?udio em sites O ?udio Marketing 10.com, audio no site mensagens de voz, Narra??o para sites som em flash, como colocar audio em sites som em flash, software para inserir O ?udio Marketing 10.com, inserir som O ?udio Marketing 10.com, voz no site Narra??o para sites. Visite: http://www.audiomarketing10.com Narra??o para sites O ?udio Marketing 10.com, O ?udio Marketing 10.com Narra??o para sites, Web Audio Plus som em flash, site com som som em flash, como colocar audio em sites site com ?udio, software para inserir ?udio em sites narra??o fala, mensagens em ?udio O ?udio Marketing 10.com. site com som mensagens em ?udio Visite: http://www.audiomarketing10.com site com som mensagens em ?udio ?udio em sites O ?udio Marketing 10.com, audio no site mensagens de voz, Narra??o para sites som em flash, como colocar audio em sites som em flash, software para inserir O ?udio Marketing 10.com, inserir som O ?udio Marketing 10.com, voz no site Narra??o para sites. Narra??o para sites O ?udio Marketing 10.com, O ?udio Marketing 10.com Narra??o para sites, Web Audio Plus som em flash, site com som som em flash, como colocar audio em sites site com ?udio, software para inserir ?udio em sites narra??o fala, mensagens em ?udio O ?udio Marketing 10.com.