Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Total expiry not working -- is clock skew the problem?
Date: Wed, 08 Feb 2006 12:37:09 +0900	[thread overview]
Message-ID: <b4mfymujzbu.fsf@jpl.org> (raw)
In-Reply-To: <lspy80nozf3.fsf@drip.ca.boeing.com>

>>>>> In <lspy80nozf3.fsf@drip.ca.boeing.com> Ted Stern wrote:

> One more note -- if I set expiry-wait to 0.0 on a topic, that works
> perfectly.  It is only non-zero values that do not work.

> On  7 Feb 2006 at 08:28 UTC-0800, Ted Stern wrote:

>> I started a new job about 100 days ago and had to reconstitute my
>> entire Gnus setup, almost from scratch.  In my old job, I had total
>> expiry turned on and articles expired with no problems.  Now I have
>> total expiry turned on in the group parameters for an entire topic,
>> but nothing has expired automatically since day one.

Well, you're talking about nnfolder groups, aren't you?  If so,
how does the X-Gnus-Article-Number header in old articles look?
(You may need to type `t' in the summary buffer.)  For example,
it should be something like:

X-Gnus-Article-Number: 1234   Tue Feb  7 08:28:55 2006

Where 1234 is an article number and the rest is a timestamp.
Gnus will look at this timestamp to decide whether to expire the
article, so if there's no such header, the time stamp is
corrupted or it shows a future date, expiring will not take
place.  I have no more idea if those are going well.

BTW, expiring might be executed in your machine eight hours
earlier than the time specified with expiry-wait.  It is because
the timestamp in the X-Gnus-Article-Number header is made by the
current-time-string function and doesn't have a timezone info.
For instance:

(progn
  (setenv "TZ" "PST8PDT") ;; -0800
  (/ (time-to-seconds (time-since (current-time-string))) 3600))
 => 8.000075615555556



  reply	other threads:[~2006-02-08  3:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-07 16:28 Ted Stern
2006-02-07 17:24 ` Ted Stern
2006-02-08  3:37   ` Katsumi Yamaoka [this message]
2006-02-08 20:49     ` Ted Stern
2006-02-09  1:11       ` Katsumi Yamaoka
2006-02-09 21:29         ` Ted Stern
2006-02-08 20:56     ` Ted Stern

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=b4mfymujzbu.fsf@jpl.org \
    --to=yamaoka@jpl.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).