Gnus development mailing list
 help / color / mirror / Atom feed
* score extended To: line ?
@ 1997-12-10 22:08 ojing-eo
  1997-12-11 11:19 ` Lars Balker Rasmussen
  1997-12-14 10:42 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: ojing-eo @ 1997-12-10 22:08 UTC (permalink / raw)


From: ojing-eo <squid@panix.com>
Date: 10 Dec 1997 17:08:45 -0500
In-Reply-To: Stefan Waldherr's message of "07 Dec 1997 20:10:25 -0500"
Message-ID: <oxgafe8x34i.fsf_-_@panix3.panix.com>
Lines: 49
X-Mailer: Gnus v5.5/Emacs 19.34

some of my mailing lists have rather extended to lines.
Does Gnus mail sorting really work for the whole To: header
or just the first line of it ?


for example



To: "'Tom Christiansen'" <tchrist@jhereg.perl.com>,
        Dick Hardt
         <dickh@ActiveState.com>,
        "Perl-Win32-Users (E-mail)"
         <perl-win32-users@ActiveState.com>

also, should sorting on a supposedly invariant header line work, eg

        ("PERL32"     "^X-Info: http://www.ActiveWare.com")

here'sthe code i'm using now.

      ~squid.

;; use gnus to browse mail
(setq gnus-secondary-select-methods
      '((nnml "private")))

;; sort mail into groups
(setq nnmail-split-methods
      '(("red-hat.general"   "^Resent-From:.*redhat-list@redhat.com")
        ("PERL32"     "^To: Perl-Win32-Users Perl-Win32-Users@ActiveWare.com")
        ("PERL32"     "^To: Perl-Win32-Users@ActiveWare.com")
        ("PERL32"     "^To: perl-win32@ActiveState.com")
        ("PERL32"     "^To: Perl-Win32-Users@ActiveState.com")
        ("PERL32"     "^To: Perl-Win32-Users <Perl-Win32-Users@ActiveWare.com>")
        ("PERL32"     "^To: Perl-Win32-Users@ActiveState.com")
        ("PERL32"     "^Cc: Perl-Win32-Users@ActiveState.com")
        ("PERL32"     "^Cc: Perl-Win32-Users <Perl-Win32-Users@ActiveWare.com>")
        ("PERL32"     "^Cc: Perl-Win32-Users Perl-Win32-Users@ActiveWare.com")
;;      ("PERL32"     "^To: "'Dick Hardt'" <Dick_Hardt@ActiveState.com>")
        ("PERL32"     "^X-Info: http://www.ActiveWare.com")
        ("PERL32"     "^X-From-Line: null@ActiveWare.com")
;;      ("PERL32"     "^X-ListMember: squid@panix.com [Perl-Win32-Users@ActiveState.com]")

        ("other" "")))


stil misses a lot of PERL32 posts.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: score extended To: line ?
  1997-12-10 22:08 score extended To: line ? ojing-eo
@ 1997-12-11 11:19 ` Lars Balker Rasmussen
  1997-12-14 10:42 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Balker Rasmussen @ 1997-12-11 11:19 UTC (permalink / raw)


ojing-eo <squid@panix.com> writes:
> some of my mailing lists have rather extended to lines.
> Does Gnus mail sorting really work for the whole To: header
> or just the first line of it ?

The whole, you just need to change e.g.

>         ("PERL32"     "^To: Perl-Win32-Users@ActiveWare.com")

to

>         ("PERL32"     "^To:.*Perl-Win32-Users@ActiveWare\\.com")

The second string is a regular expression, and yours will only catch
mails sent to Perl-Win32-Users as the first thing.  You should probably
also consider Cc's, Bcc's etc, which you can only do by switching on the
X-From-Line for the mailing list (which is likely to always be the same.)
-- 
Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS
lbr@mjolner.dk


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: score extended To: line ?
  1997-12-10 22:08 score extended To: line ? ojing-eo
  1997-12-11 11:19 ` Lars Balker Rasmussen
@ 1997-12-14 10:42 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-12-14 10:42 UTC (permalink / raw)


ojing-eo <squid@panix.com> writes:

> some of my mailing lists have rather extended to lines.
> Does Gnus mail sorting really work for the whole To: header
> or just the first line of it ?

Do you mean "mail splitting"?  If so; it works for the entire header.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-12-14 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-10 22:08 score extended To: line ? ojing-eo
1997-12-11 11:19 ` Lars Balker Rasmussen
1997-12-14 10:42 ` Lars Magne Ingebrigtsen

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).