Danny Angus wrote:
As for complex conditions you might try JSeive, or alternatively write
a rules based matcher yourself.
Thanks for letting me know I wasn't just overlooking something. I think
writing my own matcher would suffice for my needs.
FYI, that reminds me, I wrote my own MboxMailRepository. I didn't
contribute it back because mine only needed to be write-only (I write
every incoming email to Mark Logic and an mbox file). In my mbox
version I fixed a few issues with the existing one:
* Reports exceptions if the mbox dir isn't there.
* Closes files in finally block.
* Nicely exceptions out if no disk space.
* Ensures "envsender" in From line is one word.
I'd be happy to send in the rewritten version if someone wants to put
these fixes into the trunk.
-jh-