To purge all but the last five versions of each type of log file in the log/imta directory:
imsimta purge