If you are using a web browser on your client machine, you must've gotten it to work by putting the server as the proxy. Same as email clients, you will hafta go thru the server (ip addy).
Configure the out/incoming smtp addresses accordingly and should be good to go.