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/8.0.0.1/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/8.0.0.1
- ./install.sh -r -I -V
-
Edit the /opt/collabnet/teamforge/runtime/james/
apps/james/SAR-INF/config.xml file and comment out the
<authorizedAddresses> node.
For example:
<!-- <authorizedAddresses>127.0.0.0/8</authorizedAddresses> -->
-
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/8.0.0.1
- ./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