I have followed the Virtual Users And Domains With Postfix, Courier And MySQL (CentOS 5.1) I don't have reverse dns, so i want to relay all my e-mail with gmail. How to enable STARTTLS in postfix??
Does gmail allow relaying ? How do u plan to do this ? I think the howto enables STARTTLS by default.
Okay in that case postfix does support postfix as a client authentication. Add this to your config Code: smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/gmail_passwd smtp_sasl_type = cyrus relayhost = [smtp.gmail.com]:587 Create the file /etc/postfix/gmail_passwd Code: [smtp.gmail.com]:587 [email protected]:password Then Code: postmap /etc/postfix/gmail_passwd postfix restart