The imta dumpdb command writes the entries in IMTA databases to a flat ASCII file. In particular, this command may be used to write the contents of an old style database to a file from which a new style database may be built using the imta crdb command. If you do not have write permission in the directory where you are working, the imta dumpdb command fails with the following warning:
# dumpdb can be executed by inetmail only
Note - Make sure you are logged in as inetmail (the postmaster) before performing this command.
|
The parameters for this command are:
The following commands can be used to dump the contents of an alias database to a file, and then to recreate the alias database from that file. Type:
% imta dumpdb IMTA_ALIAS_DATABASE alias.tmp
% imta crdb alias.tmp IMTA_ALIAS_DATABASE