Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: What Headers Are Checked With split-fancy 'any'
Date: Wed, 29 Oct 2003 21:41:10 +0100	[thread overview]
Message-ID: <v9brrzrd3t.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <768yn33kld.fsf@newjersey.ppllc.com>

On Wed, Oct 29 2003, Jake Colman wrote:

> This will match spamassassin-talk and spamassassin-announce whether it is
> followed by lists.sourceforge.net or sourceforge.net.  The construct
> "\\(lists\\.\\)?" says zero or more "lists." preceded by "@" and followed by
> the rest of it.

Yup.

> Does the match always start with the first character 

No.

> or do I have to use "^" if I am concerned about something preceding
> it?

It depends.  If the address is written as
| To: Spamassassin Talk <spamassassin-talk@sourceforge.net>
or
| To: <spamassassin-talk@sourceforge.net>
it will not match.

Also note ...

,----[ (info "(gnus)Fancy Mail Splitting") ]
|    In these splits, FIELD must match a complete field name.  VALUE must
| match a complete word according to the fundamental mode syntax table.
| You can use `.*' in the regexps to match partial field names or words.
| In other words, all VALUE's are wrapped in `\<' and `\>' pairs.
`----

... and the variable `nnmail-split-fancy-match-partial-words':

,----[ C-h v nnmail-split-fancy-match-partial-words RET ]
| nnmail-split-fancy-match-partial-words's value is nil
| 
| Documentation:
| Whether to match partial words when fancy splitting.
| Normally, regexes given in `nnmail-split-fancy' are implicitly surrounded
| by "\<...\>".  If this variable is true, they are not implicitly surrounded
| by anything.
| 
| You can customize this variable.
| 
| Defined in `nnmail'.
`----

You can check your split rules by doing `B q', `B t' and `B r', see
(info "(gnus)Mail Group Commands") for more explanations.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




  reply	other threads:[~2003-10-29 20:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-29 17:05 Jake Colman
2003-10-29 17:33 ` Reiner Steib
2003-10-29 19:33   ` Jake Colman
2003-10-29 20:41     ` Reiner Steib [this message]
2003-10-30  7:11       ` era
2003-10-30 14:03         ` Jake Colman
2003-10-30 14:26           ` era
2003-10-30 14:35           ` Reiner Steib
2003-10-30 15:10             ` era
2003-10-30 15:48               ` Reiner Steib

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=v9brrzrd3t.fsf@marauder.physik.uni-ulm.de \
    --to=4.uce.03.r.s@nurfuerspam.de \
    --cc=reiner.steib@gmx.de \
    /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).