Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: how to sort (filter) msg which contain MS word documents
Date: Mon, 14 Apr 2008 22:34:14 +0200	[thread overview]
Message-ID: <v93apo18hl.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87prssepd5.fsf@mat.ucm.es>

On Mon, Apr 14 2008, Uwe Brauer wrote:

> I would like to sort my messages in a given group such that the
> message which contain attachments of word documents are separated form
> the rest. I know that for new message I could use the gnus-splitting
> group and specify the 
> content type like:
>     ("Content-type" "application/msword" "DOC")

Does this actually work?  I think that nnmail-split-methods only apply
to the headers...

,----[ (info "(gnus)Splitting Mail") ]
| The `nnmail-split-methods' variable says how the incoming mail is to be
| split into groups.
| [...]
|    [...], and the second element is
| a regular expression used on the header of each mail to determine if it
| belongs in this mail group. [...]
| 
|    The second element can also be a function.  In that case, it will be
| called narrowed to the headers with the first element of the rule as the
| argument.  [...]
`----

... an for "Content-type: multipart/mixed message", the Content-type
of the sub-part (application/msword) is in the body.

> But what can I do for other groups?

Maybe...

,----[ (info "(gnus)Mail Group Commands") ]
|    If you move (or copy) articles regularly, you might wish to have Gnus
| suggest where to put the articles.  `gnus-move-split-methods' is a
| variable that uses the same syntax as `gnus-split-methods' (*note
| Saving Articles::).
`----

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




  reply	other threads:[~2008-04-14 20:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14  9:51 Uwe Brauer
2008-04-14 20:34 ` Reiner Steib [this message]
2008-04-24 14:48   ` Uwe Brauer
2008-04-24 18:43     ` Reiner Steib
2008-04-25 10:40       ` Uwe Brauer
2008-04-25 16:17         ` Ted Zlatanov
2008-04-25 17:22           ` Uwe Brauer
2008-04-25 18:47             ` Ted Zlatanov
2008-04-25 21:01               ` James Cloos

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=v93apo18hl.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    /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).