PureMessage uses a database to index fields from quarantined messages to enable faster searching. If you are changing or upgrading your PureMessage installation, you may wish to change the database used for this quarantine data for reasons outlined in Quarantine Indexing.
pmx-database stop pmx-quarantine reindex --index-type=(bdb or cdb) pmx-config quarantine_type dir
Remove the pmx_db line from pmx.conf (located by default in /opt/pmx/etc), then run pmx-qmeta-index or allow it to run automatically from the Scheduler. For more information, see the Local Services Tab section of the Manager Reference.
Run the pmx-postgres-enable script as the "pmx" user.
After PostgreSQL is configured, use the following procedure to transfer the current quarantine data to the PostgreSQL database. Note that it takes approximately one hour to index 125,000 messages.