HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   postfix: relay by gmail (

mexus 31st January 2008 01:27

postfix: relay by gmail
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??

topdog 31st January 2008 08:19

Does gmail allow relaying ? How do u plan to do this ? I think the howto enables STARTTLS by default.

mexus 31st January 2008 19:56

Yes it does.

topdog 31st January 2008 20:16

Okay in that case postfix does support postfix as a client authentication.

Add this to your config

smtp_sasl_auth_enable = yes
 smtp_sasl_password_maps = hash:/etc/postfix/gmail_passwd
 smtp_sasl_type = cyrus
 relayhost = []:587

Create the file /etc/postfix/gmail_passwd


postmap /etc/postfix/gmail_passwd
postfix restart

mexus 1st February 2008 01:13

Yes it works! Thanks.

razor7 11th September 2012 04:59

Hi, followed instructions but in ISPConfgi 3 I get this


...dsn=5.7.0, status=bounced (host[]] said: 530 5.7.0 Must issue a STARTTLS command first.
Is there anything I can do?

Thanks a lot!

All times are GMT +2. The time now is 01:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.