From the RT server you should be able to just relay outgoing email to the server that does have access to the mail server which will then relay to the SMTP server. I have used Postfix for relaying in the past and it makes it very easy to setup:
1 Like