rafael.munoz ha scritto:
Hi

First of all, a lot of thanks for your quick reply.

I'm using file-based repositories so "by hand" I mean moving the two files,
FileObjectStore and FileStreamStore, from the error directory
(\\var\mail\error) to the the spool directory (\\var\mail\spool).

After restarting James I see in the logs that the moved mail is being
process again by my mailet but retrieving the attribute previously set in
the fist pass (mail.setAttribute/mail.getAttribute) returns null.
Any idea what I'm doing wrong?

I don't know. I never moved files by hand.
Maybe there is some cache.

Or maybe your attributes are not serializable.

make sure you use Serializable objects in setAttribute and try to not move files by hand (or at least try it when james is stopped).

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to