help-gnu-emacs
[Top][All Lists]
Advanced

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

Gnus: Defining a new nnml server with a different nnml-directory


From: Rodolfo Medina
Subject: Gnus: Defining a new nnml server with a different nnml-directory
Date: Thu, 21 Aug 2008 08:50:40 -0700 (PDT)
User-agent: G2/1.0

I aready postes this on gnu.emacs.gnus but got no solution.

In my .gnus.el, I have:

 (setq gnus-select-method '(nnml ""))
 (setq nnmail-split-methods '(("inbox" "")))

, and all new mail messages are put in the `inbox' group and stored in
the
"~/Mail/inbox" directory.  Now, I want to create a new nnml server,
say
`test', but with a different nnml-directory, say "~/my-dir/" in place
of
"~/Mail/".
Then I put in .gnus.el the following stuff:

(setq gnus-secondary-select-methods
      '((nnml "test"
              (nnml-directory "~/my-dir/")
              (nnml-active-file "~/my-dir/active")
              (nnml-newsgroups-file "~/my-dir/newsgroups"))))

.  But now my inbox messages are stored in "~/my-dir/inbox", that I
don't want.
How can I avoid that?

Thanks for any help
Rodolfo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]