EmailRelay cannot automatically detect that the ClearQuest database has been changed from replicated to non-replicated or vice versa. If you change the replication of the ClearQuest database, delete or rename the existing cqemailrelay_cfg.xml EmailRelay configuration file. Then, run the cqemailrelay.pl script against the changed ClearQuest database.