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.
-
Log on to the TeamForge Application Server and do this.
-
Stop the collabnet service.
- /etc/init.d/collabnet stop
-
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/16.3/conf/site-options.conf
JAMES_ACCEPTED_RELAYS=127.0.0.1,{__CEE_DOMAIN__},<The IP address of the Git server>
-
Recreate the runtime environment.
- cd /opt/collabnet/teamforge-installer/16.3
- ./install.sh -r -I -V
-
Start the collabnet service.
- /etc/init.d/collabnet start
-
Log on to the Git server and do this.
-
Copy the site-options.conf file from the TeamForge
application server to the Git server.
-
Recreate the runtime environment.
- cd /opt/collabnet/teamforge-installer/16.3
- ./install.sh -r -I -V
-
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>
-
Restart the gerrit service.
- /etc/init.d/collabnet stop
gerrit
- /etc/init.d/collabnet start
gerrit