The EmailRelay application on a replicated, single HCL Compass database
When your HCL Compass database is
replicated, you must specify the -replicaname
parameters in the cqemailrelay.pl
Perl script. Then, you must run cqemailrelay.pl at each site.
Attention: You must use
-replicaname
parameter
to specify the replica name at which you are configuring EmailRelay.
If you omit this parameter, EmailRelay will not work in PostOffice
Relay mode.This example shows how to setup and configure EmailRelay
at two sites, one called Littleton, and the other called Beijing.
First, run the following command at the Littleton site:
cqperl cqemailrelay.pl -dbset EmailPlus -userdb SAMPL -username admin -password secret -serverurl https://cqweb.server.com/cqweb/oslc/ -relaycfgdir C:\EmailRelay –replicaname Littleton -smtpserver smtp.your.org.com -smtpport 465 -smtpuser cq.emailrelay@your.org.com -smtppassword secret -mode smtprelay
Next,
run the following command at the Beijing site:
cqperl cqemailrelay.pl -dbset EmailPlus -userdb SAMPL -username admin -password secret -serverurl https://cqweb.server.com/cqweb/oslc/ -relaycfgdir C:\EmailRelay –replicaname Beijing -smtpserver smtp.your.org.com -smtpport 465 -smtpuser cq.emailrelay@your.org.com -smtppassword secret -mode smtprelay