If you are unable to send email directly due to firewall restrictions, or if mail is being rejected by the application server's IP address, configure TeamForge to send outgoing messages through a gateway mail server.
Configure TeamForge to send outgoing message through a gateway mail server by adding the following to the <mailet match="All" class="RemoteDelivery"> directive in the configuration file at /opt/collabnet/teamforge/runtime/james/apps/james/SAR-INF/config.xml:
<gateway>smtp.example.com</gateway> <gatewayPort>25</gatewayPort>
If your gateway mail server requires authentication to send email, you may also add the following directives:
<username>username</username> <password>password</password>