Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Adam Sjøgren" <asjo@koldfront.dk>
To: info-gnus-english@gnu.org
Subject: Re: newbie question: trouble with mail splitting
Date: Mon, 27 May 2019 23:35:55 +0200	[thread overview]
Message-ID: <8736kzpolg.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <87ef4jy9is.fsf@shinri.i-did-not-set--mail-host-address--so-tickle-me>

Karl writes:

>         (to "emacs-orgmode@gnu.org" "nnmaildir+Lokal:OrgDigest")

I have "To" instead of to...

>         (from ".*n3.nabble.com" "nnmaildir+Lokal:notmuch")

... and "From" instead of from.

>         (subject "^FRITZ!.*" "nnmaildir+Lokal:fritz")

And "Subject" instead of subject.

I.e. strings enclosed in double quotes.

I don't remember which is correct, but it might be worth trying.

Oh, here is the documentation:

  (field value [- restrict […] ] split [invert-partial])

     The split can be a list containing at least three elements. If the
     first element field (a regexp matching a header) contains value
     (also a regexp) then store the message as specified by split.

    - http://gnus.org/manual/gnus_84.html#Fancy-Mail-Splitting

So try using "To", "From" and "Subject" instead of to, from and subject!

You can use B q to check where an email would be split to, B t to get a
trace (more info!), and B r to actually have the email moved.

I'm not sure about the fully qualified folder names either, but maybe
that works. I just have "cron", "normal" and so on.


  Good luck!

    Adam

-- 
 "Everything needs to change.                                 Adam Sjøgren
  And it has to start today."                            asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  parent reply	other threads:[~2019-05-27 21:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-27 19:36 Karl
2019-05-27 20:46 ` Emanuel Berg
2019-05-27 21:35 ` Adam Sjøgren [this message]
2019-05-27 22:17   ` Eric Abrahamsen
2019-05-28  1:09     ` William Henderson
2019-05-28  5:27     ` Adam Sjøgren
     [not found]       ` <87tvdc0yjp.fsf@googlemail.com>
2019-05-30 15:27         ` Adam Sjøgren
2019-05-30 17:04           ` physiculus
     [not found]           ` <87k1e727rf.fsf@googlemail.com>
2019-05-30 20:56             ` Adam Sjøgren
2019-06-03 17:33               ` physiculus

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=8736kzpolg.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=info-gnus-english@gnu.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).