If you want to relay through a particular port, something like
Code:
relayhost my.relay.com:port
will do it.
As mentioned in your other post, there's no point trying to d a general connection on a different port, since mailservers generally listen on 25