Differences
This shows you the differences between two versions of the page.
socketlabs [2013/10/04 14:14] |
socketlabs [2013/10/04 14:14] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== SocketLabs ====== | ||
+ | * [[Postfix]] | ||
+ | |||
+ | * [[https://support.socketlabs.com/index.php/Knowledgebase/Article/View/72/0/how-to-increase-performance-when-sending-outbound-messages-through-socketlabs-hosted-mail-service|Configuration]] | ||
+ | * [[http://www.socketlabs.com/blog/diagnosing-smtp-service-connection-issues/|Diagnosing SMTP Service Connections]] | ||
+ | |||
+ | SocketLabs is an SMTP relay service. | ||
+ | |||
+ | === Postfix Integration === | ||
+ | |||
+ | Create a passwords file at ''/etc/postfix/relay_auth'': | ||
+ | |||
+ | <code> | ||
+ | smtp.socketlabs.com smtp9999:MyPassword | ||
+ | </code> | ||
+ | |||
+ | Set permissions and build hash: | ||
+ | |||
+ | <code> | ||
+ | chmod 600 /etc/postfix/relay_auth | ||
+ | postmap relay_auth | ||
+ | </code> | ||
+ | |||
+ | Update ''main.cf'': | ||
+ | |||
+ | <code> | ||
+ | relayhost = smtp.socketlabs.com | ||
+ | smtp_sasl_auth_enable = yes | ||
+ | smtp_sasl_password_maps = hash:/etc/postfix/relay_auth | ||
+ | </code> | ||
+ | |||
+ | Finally, restart Postfix | ||
+ | |||
+ | <code> | ||
+ | /etc/init.d/postfix restart | ||
+ | </code> |