Javamail using Exchange as relay
Create a new Receive Connector for the Java Server. Restrict the connection settings to allow only that IP address to connect. Then grant anonymous relaying permissions to that new receive connector.
As long as you put the correct restrictions in for connection it cannot be abused.