Re: Spam and mailing list filtering?

2011-02-10 Thread Austin Clements
On Feb 10, 2011 8:33 AM, Ben Gamari bgamari.f...@gmail.com wrote:

 On Thu, 10 Feb 2011 12:20:55 +, Daniel Barlow d...@telent.net wrote:
  My questions
 
  1) (How) can I filter on the X-Spam-Bar header to chop out spam and
  suspected spam?
 
 I simply run new mail through bogofilter in my sorting script and tag
 junk with a junk tag. I then add not tag:junk to each of my saved
searches.

One of my plans for after the custom query parser patches get reviewed is to
make it possible to exclude certain tags from queries by default, unless the
query specifically mentions the tag. This should make it easier to handle
spam tags like this.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Spam and mailing list filtering?

2011-02-10 Thread Rob Browning
Ben Gamari bgamari.f...@gmail.com writes:

 I simply run new mail through bogofilter in my sorting script and tag
 junk with a junk tag. I then add not tag:junk to each of my saved searches.
  
 2) Is there any way (actual or planned) to filter on X-List-Id or
 similar so that I can filter mailing list stuff more accurately

Also note that if you're already filtering via procmail or similar, I
believe you should be able to use notmuch-deliver to add tags based on
the headers it finds.

Alternately, if you already deliver all spam to a particular folder, the
new folder: support might help.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch