Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Karl <karlderletzte@holnishaus.de>
To: info-gnus-english@gnu.org
Subject: newbie question: trouble with mail splitting
Date: Mon, 27 May 2019 21:36:43 +0200	[thread overview]
Message-ID: <87ef4jy9is.fsf@shinri.i-did-not-set--mail-host-address--so-tickle-me> (raw)

Hello gnus-list,

i'm happy to use gnus for reading and writing mails.
Now i want to split mails, but i do not understand how it works.

here is my config, but it doesnt work. All mail goes to mail.misc.
Does anyone knows what to do?

;; split
;; client-side imap splitting ermöglichen
(gnus-group-split-setup t)
(setq nnimap-split-download-body t)
(setq nnmail-crosspost nil)
(setq nnmail-split-methods 'nnmail-split-fancy)
(setq nnmail-split-fancy
      '(|
        ;;(: spam-split 'spam-use-regex-headers)
        (to "emacs-orgmode@gnu.org" "nnmaildir+Lokal:OrgDigest")
        (from ".*n3.nabble.com" "nnmaildir+Lokal:notmuch")
        (from ".*pinterest.com" "nnmaildir+Lokal:Pinterest")
        (subject "^FRITZ!.*" "nnmaildir+Lokal:fritz")
        (from "forum@papyrus.de" "nnmaildir+Lokal:Papyrus")
        ;;(: spam-split)
        ("mail.misc")
        ))

;; initialisiere split
(setq gnus-group-split-setup t)
(setq nnmail-pre-get-new-mail-hook '(gnus-group-split-update))

(setq gnus-secondary-select-methods '(
(nnimap "GMail"
                                              (nnimap-address "imap.gmail.com")
                                              (nnimap-server-port "imaps")
                                              (nnimap-user "xxx@googlemail.com")
                                              (nnimap-stream ssl)
                                              (nnimap-split-methods 'nnmail-split-fancy)
                                              (get-new-mail t)
                                              (nnir-search-engine imap)
                                              )
                                              ))

My system is Linux Mint 19.1
Emacs 26.2

Regards
Poul


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

             reply	other threads:[~2019-05-27 19:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-27 19:36 Karl [this message]
2019-05-27 20:46 ` Emanuel Berg
2019-05-27 21:35 ` Adam Sjøgren
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=87ef4jy9is.fsf@shinri.i-did-not-set--mail-host-address--so-tickle-me \
    --to=karlderletzte@holnishaus.de \
    --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).