Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
Subject: Re: How to combine spam-split with Subject filtering.
Date: Thu, 10 Feb 2005 13:16:49 -0500	[thread overview]
Message-ID: <87mzucxotq.fsf@mat.ucm.es> (raw)
In-Reply-To: <4nhdkmvora.fsf@lifelogs.com>

>>>>> "Ted" == Ted Zlatanov <tzz@lifelogs.com> writes:

    Ted> On Wed, 12 Jan 2005, oub@mat.ucm.es wrote:

[snip]

    Ted>  You could use  spam-use-regex-headers.  Add  an entry to the
    Ted> spam-regex-headers-spam  list  to match  your   subject.  The
    Ted>  check  will be done  against  the headers  as  a whole using
    Ted> re-search-forward so just escape the brackets appropriately.

You mean this:

`spam-regex-headers-spam' is a variable declared in Lisp.
  -- loaded from "spam"

Value: ("^X-Spam-Flag: YES" "^Subject: POSIBLE SPAM SPAM.POSS")


    Ted> It would be nice if in addition to "Subject" we had "Subject+raw" as
    Ted> an alternative in case the user wants an exact match without regular
    Ted> expressions (ditto for all the other special headers that can be used,
    Ted> e.g. "From+raw").  Then "[POSSIBLE SPAM]" would just match, without
    Ted> the confusion about regex escaping and word boundaries.
Very true.


Uwe 


  reply	other threads:[~2005-02-10 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <86zmzeqwcs.fsf@mat.ucm.es>
     [not found] ` <m2r7kqggr7.fsf@Stella-Blue.local>
     [not found]   ` <v97jmhhhcg.fsf@marauder.physik.uni-ulm.de>
     [not found]     ` <864qhlr4n0.fsf@mat.ucm.es>
     [not found]       ` <866521cyr5.fsf@mat.ucm.es>
     [not found]         ` <16870.34083.953155.509283@parhasard.net>
2005-01-13 15:04           ` Uwe Brauer
2005-02-08 19:24 ` Ted Zlatanov
2005-02-10 18:16   ` Uwe Brauer [this message]
2005-02-10 18:15     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mzucxotq.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).