load convert [arguments]
The mail conversion utility command uses arguments to specify options of the following form:
load convert -? /? -a -c -d -e -f -g -h -i -l -m -n -o -proxy -r -s -u-w -x mailfilepath existingtemplatename newtemplatefilename
Mailfilepath specifies which mail file or files to upgrade.
Existingtemplatename specifies a certain mail file design to upgrade. This property is found in the Template Name field on the Database Properties -> Design tab.
Newtemplatefilename specifies the template with which to upgrade the mail files.
Table 1. Mail conversion utility options and descriptions
| Options | Description |
| -a Admin Name | Enables sending mail to the administrator when the convert tool completes. |
| -c | Converts categories to folders. |
| -d | Used to not convert categories to folders. |
| -e or -e- | Enables or disables NSF support for IMAP. Converts the file or files for IMAP use in Notes. |
| -f file name | Reads the list of databases to process from a text file. |
| -g"Language Name" | Replaces the mail file design with user's preferred language. |
| -h | Adds the IMAP specific items to optimize fetches. |
| -i | Converts categories to folders. |
| -l file name | Generates a list of mail files by reading people's mail files from the Domino Directory. Writes the list to a text file. |
| -m | Enables or disables folder references which are needed for IMAP. Converts the file or files for IMAP use in Notes. |
| -n | Shows the databases that match the file name and template name criteria, without actually updating anything. |
| -o | Removes IMAP-specific items. |
| -proxy | Enables a display status and error messages in a console window. |
| -r | Enables recursive search of databases. Converts mail files in subdirectories of the specified directory. |
| -s | Ignores the preserve flag for folders when replacing the design but always preserve them. |
| -u | Enables the upgrade of folders to the same design as the $inbox design. |
| -w dir path | Enables fix up of names in Notes in all mail files on the server to allow for Microsoft Exchange Mail Migration. |
| -x | Enables exclusive design element keys: NAMECLASSLANGUAGE |
| -? /? | Displays help information. Displays command line help. |
| Task | Description |
| Upgrade a single mail database | The mail conversion utility replaces the current mail template with the new release mail template.
This example finds the mail database user.nsf in the \MAIL subdirectory of the Notes data directory.
load convert mail\user.nsf * mail9.ntf |
| Upgrade all mail databases in a directory | This example finds all databases in the \MAIL subdirectory of the Notes data directory that use the Notes 8.5 mail template, and replaces their design template with mail9.ntf, theHCL Notes 9.0.1 Social Edition mail template.
load convert mail\*.nsf StdR85Mail mail9.ntf |
| Upgrade all mail databases in a directory and in its subdirectories | This example finds all databases located in the \MAIL subdirectory of the Notes data directory and all subdirectories of the \MAIL directory (for example, C:\NOTES\DATA\MAIL\GROUP1, C:\NOTES\DATA\MAIL\GROUP2, and C:\NOTES\DATA\MAIL\GROUP3) and upgrades them to the Notes 9.0.1 Social Edition mail template, mail9.ntf.
load convert -r mail\*.nsf * mail9.ntf |
| Upgrade all mail databases listed in a text file | You can create a text file listing databases you want to upgrade and use it with the mail conversion utility to upgrade only those databases. For example, you can create the text file MAILLIST.TXT to list all the mail databases you want to upgrade and save it in the directory C:\TEMP. This example finds all databases listed in MAILLIST.TXT, determines whether the databases use a design template name that matches Mail*, and replaces the designs of the matching databases with mail9.ntf), the Notes 9.0.1 Social Edition mail template.
load convert -f c:\temp\maillist.txt mail*.ntf mail9.ntf |
| Create a text file that lists all mail databases in a directory | You can use the mail conversion utility to create a text file that lists all primary mail databases on the server (it does not list replica mail databases). This example creates a text file, MAILLIST.TXT, in the C:\TEMP directory. MAILLIST.TXT contains a list of primary mail databases on the server but excludes replica mail databases. After you create the text file using this option, you can use the file to upgrade the mail databases listed in it. See Upgrading all mail databases listed in a text file in this table.
load convert -l c:\temp\maillist.txt |
| Convert mail files for use with IMAP in Notes | If you use a Notes mail file with IMAP, run the mail conversion utility to enable IMAP-specific features in the mail file. This example readies the mail database user.nsf in the \MAIL subdirectory of the Notes data directory for use with IMAP.
load convert -e mail\user.nsf |
| Upgrade custom folder design | You can use the mail conversion utility to upgrade custom folder design to the Inbox design. This example upgrades the custom folder design of all mail databases in the \Mail subdirectory of the Notes data directory to the Inbox design.
load convert -u mail\* |
| Upgrade folder design of folders without the Preserve bit | The -s argument ignores any folder or view with preserve deselected. This corresponds to the Do not allow refresh/replace to modify option in the design properties.
System folders and other design elements from the original template used to create the mail file do not have this bit set, even if the database is set to inherit from design. System folders, such as the Inbox, are not updated if you run the mail conversion utility with the -s argument.
load convert -s mail\* |
| Convert the English mail template design to a non-English language, for example German | load convert -g"German TestMail.nsf * mail9_en_de.ntf
Note: On the Linux™ platform, do not use quotes around the requested language name. Example syntax for Linux is as follows:
load convert -gGerman TestMail.nsf * mail9.ntf |
| Upgrade all previous users' mail designs listed in maillist.txt to Notes mail design | load convert -u -f maillisttxt * mail9.ntf |
| Performs address fixup for all Microsoft Exchange migrated mail databases in dir_path and its subdirectories | load convert -w db_path |
| Performs address fixup on the given Microsoft Exchange migrated mail database. | load convert -w mail_db_path |
| Generates a text list containing all Microsoft Exchange migrated mail databases from the primary mail directory, excluding replicas. This feature is of lesser-importance than address fixup but it is necessary in the event that the subsequent option is required. | load convert -w -l text_list_path |
| Performs address fix-up on all Exchange-migrated mail databases listed in the given text list file. Provides flexibility in allowing the administrator to manage the databases that need address fix-up. | load convert -w -f text_list_file |