James configuration if Git is on a separate server

You must set the JAMES_ACCEPTED_RELAYS token with the Git server's IP address if you want Git notification emails to be sent to the TeamForge Application Server.

See JAMES_ACCEPTED_RELAYS for more information.
  1. Log on to the TeamForge Application Server and do this.
    1. Stop the collabnet service.
      • /etc/init.d/collabnet stop
    2. Edit the site-options.conf file. Update the JAMES_ACCEPTED_RELAYS site-options token with the Git server's IP address.
      • vi /opt/collabnet/teamforge-installer/8.2.0.0/conf/site-options.conf
      JAMES_ACCEPTED_RELAYS=127.0.0.1,{__CEE_DOMAIN__},<The IP address of the Git server>
    3. Recreate the runtime environment.
      • cd /opt/collabnet/teamforge-installer/8.2.0.0
      • ./install.sh -r -I -V
    4. Start the collabnet service.
      • /etc/init.d/collabnet start
  2. Log on to the Git server and do this.
    1. Copy the site-options.conf file from the TeamForge application server to the Git server.
    2. Recreate the runtime environment.
      • cd /opt/collabnet/teamforge-installer/8.2.0.0
      • ./install.sh -r -I -V
    3. Edit the /opt/collabnet/gerrit/etc/gerrit.config file and update the 'smtpServer' property with the TeamForge application server's host name. For example:
      [sendemail]
                    smtpServer = <TeamForge Application Server host name>
    4. Restart the gerrit service.
      • /etc/init.d/collabnet stop gerrit
      • /etc/init.d/collabnet start gerrit