Postfix relayhost/transport with authentication

user-pic
Vote 0 Votes

Example: Outbound SMTP with authentication
SMTP: smtp.somehost.com
Username: pank
Password: 8888

Edit /etc/postfix/sasl_passwd
smtp.somehost.com pank:8888

Edit main.cf, add
relayhost=smtp.somehost.com
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options=noanonymous

postmap /etc/postfix/sasl_passwd
postfix reload

Leave a comment

About this Entry

This page contains a single entry by Pank published on November 7, 2010 12:30 AM.

MySQL Copy only table structure to new table was the previous entry in this blog.

mod_pagespeed for Apache2 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives