SMTP Relay

[<Back>] [<Edit>]

Catch it and pass it on.

sudo aptitude install postfix libsasl2 ca-certificate libsasl2-modules

#Then add the following line to /etc/postfix/

relayhost = []:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_use_tls = yes

#Enter relay account credentials here /etc/postfix/sasl_passwd


#Align all permission

sudo chmod 400 /etc/postfix/sasl_passwd
sudo postmap /etc/postfix/sasl_passwd

#Accept SSL cert from smtp server

cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | sudo tee -a /etc/postfix/cacert.pem

By: Ted Simbajon

Instagram Stats
my Kung Fu