Gnus development mailing list
 help / color / mirror / Atom feed
* Archiving received mails?
@ 2001-07-23  5:19 Jinhyok Heo
  2001-07-23  8:43 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Jinhyok Heo @ 2001-07-23  5:19 UTC (permalink / raw)


Hi,

I can archive mails I've *sent* using gnus-message-archive-group.

But I also want to archive mails I *received* every month into
different folders. Is there a way?

I use nnml as mail backend.

-- 
|  Jinhyok Heo            mailto : novembre @ournature.org
|                         whoami : <http://ournature.org/~novembre/>
|  "We are still reaching for the sky. In the developed countries people
|  are coming back down, saying, `It's empty up there.'" --- a Ladakhi monk


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

* Re: Archiving received mails?
  2001-07-23  5:19 Archiving received mails? Jinhyok Heo
@ 2001-07-23  8:43 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2001-07-23  8:43 UTC (permalink / raw)
  Cc: ding

On 23 Jul 2001, Jinhyok Heo wrote:

> But I also want to archive mails I *received* every month into
> different folders. Is there a way?

If you start Gnus once a day, it should be sufficient to recompute the
split methods upon startup.  If you leave Gnus running longer,
midnight.el is your friend to recompute the split methods.

You can either do it like this:

(setq nnmail-crosspost
      nnmail-split-methods `((,(format-time-string "arc.%Y-%m") "")
                             ("foo" "bar")
                             ...))

If a message matches several rules (it always matches the first rule),
then it will put in several folders.

Or with nnmail-split-fancy:

(setq nnmail-split-methods 'nnmail-split-fancy
      nnmail-split-fancy `(& ,(format-time-string "arc.%Y-%m")
                           (| ...other.rules...)))

This way, all messages go in the archive group, but if several of the
`other rules' match, it will only go in one of those.

kai
-- 
~/.signature: No such file or directory


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

end of thread, other threads:[~2001-07-23  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-23  5:19 Archiving received mails? Jinhyok Heo
2001-07-23  8:43 ` Kai Großjohann

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