Archiving mailin database with compact -a

HiWe are trying to archive some big (more than 9 GB) mail-in database, setting up archiving settings on each, and then scheduling a compact -a program to run nightly.

We noticed a strange behaviour: the first time, the archive file was created, but no archiving was performed.

We then made a test launching the compact on the console, setting up to archive only few documents, and this attempt ran regularly, archiving 5000 documents.

Then retried to rerun the large archiving task, but it ended without errors and… without archiving anything.

Any idea?

Thanks in advance

Ciao