From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62326 Path: news.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: Don't wait for sa-learn Date: 20 Mar 2006 16:43:50 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4nveu8eqqx.fsf@asimov.bwh.harvard.edu> References: <87fymgu6nm.fsf@freemail.hu> <4nveu8ga9f.fsf@asimov.bwh.harvard.edu> <87pskgerpf.fsf@freemail.hu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142891063 1894 80.91.229.2 (20 Mar 2006 21:44:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Mar 2006 21:44:23 +0000 (UTC) Original-X-From: ding-owner+m10853@lists.math.uh.edu Mon Mar 20 22:44:22 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FLSAm-00031t-M4 for ding-account@gmane.org; Mon, 20 Mar 2006 22:44:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FLSAd-0004PY-00; Mon, 20 Mar 2006 15:44:11 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FLSAO-0004PT-00 for ding@lists.math.uh.edu; Mon, 20 Mar 2006 15:43:56 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FLSAM-00005K-5M for ding@lists.math.uh.edu; Mon, 20 Mar 2006 15:43:56 -0600 Original-Received: from clifford.bwh.harvard.edu ([134.174.9.41] helo=mail.bwh.harvard.edu) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FLSAJ-0006Nr-00 for ; Mon, 20 Mar 2006 22:43:51 +0100 Original-Received: (qmail 26917 invoked from network); 20 Mar 2006 21:36:43 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu ([134.174.54.119]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 20 Mar 2006 21:36:43 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <87pskgerpf.fsf@freemail.hu> (Magnus Henoch's message of "Mon, 20 Mar 2006 22:23:08 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62326 Archived-At: On 20 Mar 2006, mange@freemail.hu wrote: > "Ted Zlatanov" writes: > >> I don't know if this is a good idea. If you submit multiple jobs at >> once, does sa-learn do the right thing? I use a version heavily >> customized by my ISP, so I don't know if the vanilla SpamAssassin will >> work. > > Some source diving tells me that it tries to acquire a lock on the > file, and fails after ten retries (one second between each), so it > should be safe. That seems like a bad situation to me, because the sa-learn run has the potential to fail silently if the first run is longer than 10 seconds. Maybe we need to set up a job queue. That may be hard to implement, although it will be generally useful. I'm OK with adding a variable instead, spam-train-in-background, which is nil by default but can be turned on for specific backends. Any opinions? Ted