From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: Re: gnus-message-archive-group
Date: Thu, 12 Jul 2012 17:34:38 +0200 [thread overview]
Message-ID: <87bojl2dtd.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <877gu9t3k6.fsf@free.fr>
On Thu, 12 Jul 2012 17:14:01 +0200, Julien wrote:
> I'm trying to use the date-named groups for archiving my sent messages
> but to separate news and mail messages. I tried the following :
> ((if
> (message-news-p)
> (format-time-string "sent-news.%Y-%m")
> (format-time-string "sent-mail.%Y-%m")))
How did you set up your archive server?
I have this in my ~/.gnus - it may very well to horribly outdated (but
works for me with ma gnus from git):
; Archive outgoing articles:
(setq gnus-message-archive-method '(nnml "archive"
(nnml-directory "~/Mail/archive")
(nnml-active-file "~/Mail/archive/active")
(nnml-get-new-mail nil)
(nnml-inhibit-expiry t)))
(setq gnus-message-archive-group
'((if (message-news-p)
(concat "news-" (format-time-string "%Y"))
(concat "mail-" (format-time-string "%Y")))))
I keep all my email, archives included, in nnml format, and only have
groups for email/news per year - so this may be way off from what you
want.
Best regards,
Adam
--
"Det er jo bare punk, forklædt som Bubbers badekar!" Adam Sjøgren
asjo@koldfront.dk
next prev parent reply other threads:[~2012-07-12 15:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-12 15:14 gnus-message-archive-group Julien Cubizolles
2012-07-12 15:34 ` Adam Sjøgren [this message]
2012-07-12 22:09 ` gnus-message-archive-group Julien Cubizolles
2012-07-12 22:34 ` gnus-message-archive-group Adam Sjøgren
2012-07-12 16:01 ` gnus-message-archive-group Andreas Schwab
2012-07-12 19:18 ` gnus-message-archive-group Julien Cubizolles
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bojl2dtd.fsf@topper.koldfront.dk \
--to=asjo@koldfront.dk \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).