Gnus development mailing list
 help / color / mirror / Atom feed
* Split and split again
@ 2003-11-25  9:27 Yair Friedman
  2003-11-29 17:57 ` Kai Grossjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Yair Friedman @ 2003-11-25  9:27 UTC (permalink / raw)


Since gnus can't split across servers (imap->nnml) a two-stage split
seems as a good idea: nnimap is splitting some of the mails into a
special splitbox, which is then fetched locally  and split again into
nnmail groups.

This *almost* works, the problem is that the mail is fetched before imap
split is done.

Trying to change the order of gnus-secondary-select-methods and group
levels didn't help.

Any advice?

Here are the relevant portions of .gnus.el

(setq gnus-secondary-select-methods
      '((nnimap ""
		(nnimap-address "imap.foo.com"))))
(setq mail-sources
      '(
	(imap :server "imap.foo.com" :mailbox "SPLITBOX" :predicate "UNDELETED")
))
(setq nnimap-split-inbox '("INBOX"))

(setq nnimap-split-rule
      '(("" ("INBOX"
	      ;; junk
	     (
              ...
	      ;; ding
	      ("SPLITBOX" "^Sender:.*owner-ding@hpc\\.uh\\.edu")
              ...
	)))))

(setq nnmail-split-methods
      '(
      ...
	("lists.ding" "^Sender:.*owner-ding@hpc\\.uh\\.edu")
      ...
))

Thanks,
Yair.




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

* Re: Split and split again
  2003-11-25  9:27 Split and split again Yair Friedman
@ 2003-11-29 17:57 ` Kai Grossjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Grossjohann @ 2003-11-29 17:57 UTC (permalink / raw)


Yair Friedman <yairfr@icts-tech.com> writes:

> This *almost* works, the problem is that the mail is fetched before imap
> split is done.

Does this mean it's sufficient to hit g twice?  So maybe just frobbing
the g key is enough ;-)




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

end of thread, other threads:[~2003-11-29 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-25  9:27 Split and split again Yair Friedman
2003-11-29 17:57 ` Kai Grossjohann

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