SocketLabs

SocketLabs is an SMTP relay service.

Postfix Integration

Create a passwords file at /etc/postfix/relay_auth:

smtp.socketlabs.com smtp9999:MyPassword

Set permissions and build hash:

chmod 600 /etc/postfix/relay_auth
postmap relay_auth

Update main.cf:

relayhost = smtp.socketlabs.com
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_auth

Finally, restart Postfix

/etc/init.d/postfix restart