Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Mail-splitting confusion
@ 2015-10-14 14:44 Teemu Likonen
  2015-10-14 19:20 ` Teemu Likonen
  0 siblings, 1 reply; 2+ messages in thread
From: Teemu Likonen @ 2015-10-14 14:44 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1267 bytes --]

I'm confused about Gnus's mail-splitting back-ends. How does Gnus decide
which back-end to use?

For example, I have different select methods, including things like
this:

    (setq gnus-select-method '(nnnil "")
          gnus-secondary-select-methods
          '((nnml ""
                  (nnml-directory "~/Mail")
                  (nnml-active-file "~/Mail/active"))
            (nnml "other"
                  (nnml-directory "~/other")
                  (nnml-active-file "~/other/active"))))

Then I have some split rules:

    (setq nnmail-split-methods 'nnmail-split-fancy
          nnmail-split-fancy
          '(|
            ;; Various rules here and the final destination:
            "misc"))

So incoming mail goes normally to "misc" group which is ~/Mail/misc
directory in the file system. But how does Gnus decide to put under
~/Mail and not under ~/other (see my other nnml configuration above)? Is
it possible to put (split) some mail to "nnml:foo" and some to
"nnml+other:bar"?

It seems that none of the examples in Gnus manual tell how to change the
destination back-end or how to split different mail to different
back-ends.

PS. And my terminology may also be wrong. I'm not always sure when to
speak of back-ends, select methods or servers.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]



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

* Re: Mail-splitting confusion
  2015-10-14 14:44 Mail-splitting confusion Teemu Likonen
@ 2015-10-14 19:20 ` Teemu Likonen
  0 siblings, 0 replies; 2+ messages in thread
From: Teemu Likonen @ 2015-10-14 19:20 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 399 bytes --]

Teemu Likonen [2015-10-14 17:44:37+03] wrote:

> I'm confused about Gnus's mail-splitting back-ends. How does Gnus
> decide which back-end to use?

I think I got it. Mail back-ends have get-new-mail variable and if it's
non-nil then that back-end fetches mail from mail-sources and possibly
splits mail to different groups within that back-end. I think this
should be made clear in the Gnus manual.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]



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

end of thread, other threads:[~2015-10-14 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-14 14:44 Mail-splitting confusion Teemu Likonen
2015-10-14 19:20 ` Teemu Likonen

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