When I tried to sync my server, I found out the IMAPSYNC doesn’t purge the destination folders.

Is anyway IMAPSYNC to purge destionation folder when the source folder is deleted?

I asked the author. He mentioned this is not a feature now. Has anyone modified IMAPSYNC to get this feature in? Because we want to get identical sync between both source and destination by running multiple times.