Note to self:
When using the UW-IMAP toolkit in restrictBox or closedBox modes, or even with local patches, it is helpful to have a “vanilla” version of the utilities around, for they may not work as expected. It took me a while to figure out why
mailutil prune `pwd`/Trash “before 18-may-2008”
was not working as expected. Our local version was linked with a c-client.a with restrictBox = -1 and a local version of getpwnam(3).