Having run into the problem myself, how to setup postfix with rackspace as the relayhost, running over SMTPs I thought I’d share the solution. I’ve seen a bunch of forums where this question has been asked but not been answered.
Start by creating the user that should be used for relay, don’t forget to set it’s permission in the rackspace control panel to allow for SMTP (SSL) login.
This shows what config is unique to rackspace, setup the rest as you prefer.
relayhost = [smtp.emailsrvr.com]:587smtp_sasl_auth_enable = yessmtp_sasl_password_maps = hash:/etc/postfix/sasl_passsmtp_sasl_security_options = noanonymoussmtp_use_tls = yes
chmod 640 /etc/postfix/sasl_pass
3. Restart postfix / done
service postfix restart
2 Kommentarer »