Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* nnimap-split-fancy across inbox boundaries?
@ 2012-08-26  3:31 Pawel Osiczko
  2012-08-27  1:46 ` Damon Haley
  2012-09-05 14:12 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Pawel Osiczko @ 2012-08-26  3:31 UTC (permalink / raw)
  To: info-gnus-english

Hello,

Having 2 IMAP inboxes defined, like so:

(setq gnus-select-method '(nnnil))
(setq gnus-secondary-select-methods
      '(
        (nnimap "0.foo"
                (nnimap-address "imap.foo.com")
                )
        (nnimap "1.bar"
                (nnimap-address "imap.bar.com")
                )
        )
      )

I would love to apply the split rules across the inboxes, ie if an email from user@example.com arrives at 1.bar, I'd like to move it to 0.foo:some-group:

(setq nnimap-split-fancy
      '(|
        (: nnmail-split-fancy-with-parent)
        (from "user@example.com"
             "nnimap+0.foo:some-group" )
        ("INBOX")
        )
      )
(setq nnimap-split-methods 'nnimap-split-fancy)

The above splits to the group named nnimap+0.foo:some-group at 1.bar. Any hints how to make the split happen across the inbox boundaries to 0.foo:some-group?

Thank you,

Pawel

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

end of thread, other threads:[~2012-09-05 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-26  3:31 nnimap-split-fancy across inbox boundaries? Pawel Osiczko
2012-08-27  1:46 ` Damon Haley
2012-09-05 14:12 ` Lars Ingebrigtsen

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