Hi there!

On 5 Jan 00, at 1:29, Peter Steiner wrote
    about "Re: Purging folders for old message":

> So you were not talking about the mailbox format...
> 
> If I export your message to UNIX mailbox format it looks like:
> 
> >From [EMAIL PROTECTED]  Wed Jan 5 01:01:15 2000

[....]

> I was referring to this first line which shows my local time when i
> got the mail from my POP server (the received time from TB!). 

I just didn't get your point. Thought you've referring to the Date: header 
somehow. 

> There we have the correct received time (correct unless you prefer the time
> when the mail reached your POP mailbox, not when you fetched it ;-) 

Yes, but look below...

> > TB *must* put it's *own* Received: field, and that's all. Like:
> 
> > Received: by TB 1.38e; Wed,  5 Jan 2000 00:39:15 +0300 (MSK)
> 
> > Don't you think this would solve the problem discussed?
> 
> It would indeed be a way to save the received time in the headers.
> But what if some server had its time set somewhere in the future?
> Then TB!, looking for the latest time in the Received: headers,
> would find this future time...

But this last (or topmost) Received: stamp should be machine-dependant, not 
otherwise. Right now TB does just the same, but putting this info into the folder 
index file directly. This results in:

1. If the message is got from the POP or IMAP, all's correct unless the index 
gets corrupted. Then, on re-indexing, the received date will pretty likely be 
unset to the current date/time, which could result in erratic behaviour;

2. If the message is imported somehow, the received stamp in folder index is 
set to "now", resulting in numerous inconveniences.

So what I'm suggesting is:

1. If the message is received trough POP/IMAP, TB should put the Received: 
header with the *current* time (the time of the receiving);
2. If the message is imported, TB should consult the latest Received: date 
found in the headers.

-- 
SY, Alex
(St.Petersburg, Russia)
http://mph.phys.spbu.ru/~akiselev
--- 
Thought for the day:
  It's hard for me to say what's right,
     when all I wanna do is wrong.

--- 
PGP public keys on keyservers:
0xA2194BF9 (RSA);   0x214135A2 (DH/DSS)
fingerprints:
F222 4AEF EC9F 5FA6  7515 910A 2429 9CB1 (RSA)
A677 81C9 48CF 16D1 B589  9D33 E7D5 675F 2141 35A2 (DH/DSS) 
--- 

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

Reply via email to