Sam,
Thanks. That's what I needed to know. I have adjusted my tools
accordingly, and will let James take care of its own cleanup.
Now that I understand the problem more precisely, I found the code that does
it. It is in AvalonMailRepository.initialize(). The code builds a list of
the Streams and Objects, and deletes the non-intersecting sets.
--- Noel
-----Original Message-----
From: Sam Kirkpatrick [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 10:07
To: James Developers List
Subject: Re: Erasing error/ and spam/
Yes, I believe Serge made this change a couple months ago. If either the
Object or Stream file is missing, the other is deleted. There was some
discussion on this list about it.
Sam
----- Original Message -----
From: "Noel J. Bergman" <[EMAIL PROTECTED]>
To: "James Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 8:06 AM
Subject: RE: Erasing error/ and spam/
> > > > > Could someone please point out where the code is that erases
> > > > > var/mail/spam/ and var/mail/error/ when restarting James?
> > > > if they're being erased now its phoenix doing it.
> > > With the greatest of respect, is that a fact or conjecture?
> > having actually tried it i find that they're *not* being deleted.
>
> I see this every time I restart James.
>
> I need to give you another piece of information. After they end up in the
> error/ or spam/ drops, all I want for purposes of being able to have other
> tools review them are the Stream files. The Object files get deleted
> prior to running the data analysis script. Is that what is causing the
Streams
> to be deleted when James gets going again? If a Stream file is present
> without an accompanying Object file, does it get deleted from the mailbox?
If so,
> fine. I'll change my scripts and suggest adding documenting the behavior.
>
> --- Noel
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>