The following command can be used to dump the contents of an alias database to a file, and then to recreate the alias database from that file
imsimta crdb -dump IMTA_ALIAS_DATABASE alias.txt imsimta crdb alias.txt alias-tmp imsimta renamedb alias-tmp IMTA_ALIAS_DATABASE |