From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 45E8F429E25 for ; Mon, 27 Jun 2011 18:31:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m-krb9fxS+-s for ; Mon, 27 Jun 2011 18:31:31 -0700 (PDT) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 0AA10429E32 for ; Mon, 27 Jun 2011 18:31:30 -0700 (PDT) Received: by vxa40 with SMTP id 40so4205441vxa.26 for ; Mon, 27 Jun 2011 18:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=2G8QbMnr/HoF9CNmUXD3VHwP1BzM6Tf0QNRLZuv+dsg=; b=d7RBm5zvdShmQkJZf2obdS9B51UhYpr9Q3tqEkU3qliedt2V+uBwogi6rNnkQ7dbGl CjXuxxhLws5+W+6w42vmqhYGmE9EOlA9oXEhsMhbI/Dm1kVPKNvHHtpe+39lDlKZoaE1 i2SJXpQGKcjOWmoUSt8lPjAT6lzuNnaaCcxSY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; b=B2UN1uK/fdjn3eW3wfJ/md7c9PvuRimOi9NzI/CAcj7HkPRZR4FEW+J3NlQ7UaUwYY xm9QdxmtRJZLFAbRkgIVZJRqZ03vryaLVsjd1bSdJSoT0bX9MkB/fxvW10eST5e92JC0 hpNXwQjqoEGj62uBQVUfPKjIvT6TBwEI3bbrU= Received: by 10.52.111.71 with SMTP id ig7mr9742326vdb.209.1309224690024; Mon, 27 Jun 2011 18:31:30 -0700 (PDT) Received: from localhost (gamari.physics.umass.edu [128.119.56.223]) by mx.google.com with ESMTPS id bh17sm1722747vdc.3.2011.06.27.18.31.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Jun 2011 18:31:27 -0700 (PDT) From: Ben Gamari To: Carl Worth , ccx@te2000.cz, notmuch@notmuchmail.org Subject: Re: Notmuch scripts In-Reply-To: <8762nvccce.fsf@yoom.home.cworth.org> References: <20110624112820.GA26201@dorje.inet.te2000> <8762nvccce.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.5-285-g6cdb5df (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Mon, 27 Jun 2011 21:31:26 -0400 Message-ID: <878vsmd9n5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 01:31:31 -0000 On Fri, 24 Jun 2011 11:29:21 -0700, Carl Worth wrote: > > * Spam filter. Do you guys use any? What does it's interface look like? > > I currently use bsfilter which I've found does it's job pretty > > well. > > I've currently got amavis and spamassassin adding extra headers, (and > below a certain threshold I've got maildrop delivering detected spam to > a separate maildir). > > Currently, notmuch never sees the detected spam. Ever since we got > folder: support I've been meaning to let notmuch see it so that I can > use notmuch to dig into my spam when I suspect something got > mis-detected. > > I don't currently have any system for getting user-provided feedback > into my spam filtering. Do you get that with bsfilter? > I use bogofilter along with a python cron job to bring my tags and the spam filter into sync. I use a tag (junk) to mark mail as spam and two other tags (.bf_ham and .bf_spam) to indicate that the message has been added to bogofilter. The script's task is then to, * Unregister as spam, register as ham messages with tag:.bf_spam and not tag:junk with bogofilter * Register as spam, unregister as ham messages with tag:junk and not tag:.bf_spam This is pretty straightforward to implement and is quite effective. It would be nice, however, if the emacs interface supported hiding tags matching certain patterns (say /\..+/). - Ben