This listener is good if the remote smtp server is using sasl authentication. Like you want send over google or gmx..
In you want only use the remote server for relaying ip based you can modify the script you need.
Then you only need the parameter relayhost.
but the remote server needs to be configured for this.