Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* newbie question: trouble with mail splitting
@ 2019-05-27 19:36 Karl
  2019-05-27 20:46 ` Emanuel Berg
  2019-05-27 21:35 ` Adam Sjøgren
  0 siblings, 2 replies; 10+ messages in thread
From: Karl @ 2019-05-27 19:36 UTC (permalink / raw)
  To: info-gnus-english

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

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

end of thread, other threads:[~2019-06-03 17:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 19:36 newbie question: trouble with mail splitting Karl
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

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