[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can i use nnml as mail archive method?
From: |
Deon Garrett |
Subject: |
Re: Can i use nnml as mail archive method? |
Date: |
Mon, 30 Aug 2004 18:33:44 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
"Tang Yan" <tang.yan@gmail.com> writes:
> I don't know where to find help and the problem is so strange.
>
> I want to use nnml as mail archive method in gnus 5.10.6.
>
> And what i have done is as follows:
> ------------------------------------
> (setq gnus-message-archive-method
> '(nnml "archive"
> (nnml-directory "~/Mail/archive")
> (nnml-active-file "~/Mail/archive/active")
> (nnml-get-new-mail nil)))
>
> There are something like (nnfolder-directory %^^&&*). WHY!? I have
> never used `nnfolder' _and_ I have searched my `.gnus.el', there is no
> word `nnfolder'! I use nnml as my mail backend and archive method and I
> have deleted the old newsrc.old. That is impossible.
Don't bother with setting gnus-message-archive-method. Assuming your
regular nnml backend is named "nnml", just set the archive group to
something like the following.
(setq gnus-message-archive-group
(concat "nnml:sent-mail.sent-mail-"
(format-time-string "%Y-%m")))
If your main nnml directory is ~/mail/, then this will put your sent
mail into ~/mail/sent-mail/sent-mail-2004-08/ for example.
I think that nnfolder:archive must be hard-coded into Gnus somewhere.
I've never been able to get rid of it either. You can safely ignore
it though.
- dg