From: DaveS <davls@telus.net>
Subject: nnmail-expiry destroys first archived mail
Date: Sun, 20 Feb 2005 19:18:49 GMT [thread overview]
Message-ID: <ull9j2g69.fsf@telus.net> (raw)
emacs 21.3.1 on WinXP
No Gnus v0.2
I've setup a mailing list group to expire article to an archive group:
(defun my-summary-mode-hook-fancy-expiry ()
(cond
;; mythtvusers mailing list
((string-match "list\\.mythtvusers$" gnus-newsgroup-name)
(setq nnmail-expiry-wait 30
nnmail-expiry-target 'nnmail-fancy-expiry-target
nnmail-fancy-expiry-targets
'(("from" ".*" "nnfolder+archive:list.mythtvusers-%Y-%m"))))
;; everything else, use the gnus defaults
(t
(setq nnmail-expiry-wait 7
nnmail-expiry-target 'delete
nnmail-fancy-expiry-targets nil))))
(add-hook 'gnus-summary-mode-hook 'my-summary-mode-hook-fancy-expiry)
This correctly creates a new archive group for each month of mail as it
expires.
But the first message in each month is always corrupted. Instead of the
message I get:
> From nobody Sun Feb 20 09:26:42 2005
Message-ID: <upsyv2ld9.fsf@totally-fudged-out-message-id>
Lines: 0
Xref: DARTH list.mythtvusers-2004-05:1
X-Gnus-Article-Number: 1 Sun Feb 20 09:26:42 2005
The rest of the messages for that month get archived correctly. Anyone know
why this is happening?
--
"I've seen it. It's rubbish."
-- Marvin the Paranoid Android
reply other threads:[~2005-02-20 19:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=ull9j2g69.fsf@telus.net \
--to=davls@telus.net \
/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).