I wrote a simple document to help in configuring Postfix mail server with a relay host that require SASL authentication.
It’s a common situation when you have an MTA at home or at your office with a dynamic IP adrress.
You can find it im my wiki with the Postfix with relayhost and SASL client