#1  
Old 31st January 2008, 00:27
mexus mexus is offline
Junior Member
 
Join Date: May 2007
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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??
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2008, 07:19
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Does gmail allow relaying ? How do u plan to do this ? I think the howto enables STARTTLS by default.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 31st January 2008, 18:56
mexus mexus is offline
Junior Member
 
Join Date: May 2007
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Via SMTP.
Yes it does.
Reply With Quote
  #4  
Old 31st January 2008, 19:16
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
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            username@gmail.com:password
Then
Code:
postmap /etc/postfix/gmail_passwd
postfix restart
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.

Last edited by topdog; 31st January 2008 at 19:20.
Reply With Quote
The Following User Says Thank You to topdog For This Useful Post:
mexus (1st February 2008)
  #5  
Old 1st February 2008, 00:13
mexus mexus is offline
Junior Member
 
Join Date: May 2007
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yes it works! Thanks.
Reply With Quote
  #6  
Old 11th September 2012, 03:59
razor7 razor7 is offline
Member
 
Join Date: May 2007
Posts: 47
Thanks: 6
Thanked 1 Time in 1 Post
 
Default

Hi, followed instructions but in ISPConfgi 3 I get this

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

Thanks a lot!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix: 554 5.7.1 Relay access denied Crog Server Operation 4 26th March 2010 14:19
Postfix relay domains, transports and virtual maps.... veggieryan Server Operation 3 18th July 2007 19:17
OT: Problems sending emails to gmail. I used postfix debian install (based falko) tuflipes HOWTO-Related Questions 20 29th May 2007 00:01
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 22:17.


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