[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

howto plonk nnimap into nnml



Hi,

I'm new on this mailing list; I first
would like to report that I am a happy user of
nnimap-0.37 with gnus-5.6.44, emacs-20.3
on a Sun
Solstice (tm) Internet Mail Server (tm) 2.0p7 IMAP4 service.

My first attemps made me try raw telnet on
port 143, imapcopy from WU, and nnimap strange use:
this caused my email account to be closed by the server,
but it's ok now.

Well, now, I would like to set up gnus so that the IMAP mail
is split and directed to nnml-style files. Well,

(setq nnimap-split-rule
        '(("nnml:gnusimap"     "^Sender: owner-gnus-imap@vic20.dzp.se")
           ...

creates a nnml:gnusimap mbox-like file in my HOME :-( though
the nnml:gnusimap group exists, is subscribed and non void.

So, I gave up nnimap-split-rule and my mail is read by:

(setq gnus-secondary-select-methods 
      '(
	(nnimap "par01-home"
	 (nnimap-list-pattern ("INBOX"))
       )
)

I select all incoming mail and use ``B r'' to redispatch it
to my nnml server, which splits with traditional 
nnmail-split-methods. 

Is there a way to do it automagically? 

If not the automatic solution
is to put the lisp functions corresponding to select-all
and B r in my .gnus, but this is not a beautiful way to do it...

-- 
Emmanuel Michon (http://www.enst.fr/~michon)