LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2006, 08:02 PM   #1
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Postfix can't talk to Gmail


I'm running a mail server off a local machine using Postfix for a myself and a site me and a mate are starting. Everything works but one person wants their account forwarded to their Gmail account so that's all set up but Postfix keeps throwing up errors because it can't connect to Gmail on port 25.

The help in Gmail seems to say that port 25 should work but if it doesn't (ISP restrictions however I can access other mail servers on port 25) then 465 and 587 are also available. Is there a way I can make Postfix try one of those ports instead?
 
Old 07-13-2006, 01:33 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
How about posting one of those errors (obfuscating irrelevant details)?


Cheers,
Tink
 
Old 07-13-2006, 08:18 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Original Poster
Rep: Reputation: 57
Code:
Jul 13 07:36:04 [postfix/smtp] DDDA9170146: to=<xxxx@gmail.com>, orig_to=<xxxx@randomaussies.com>, relay=none, delay=42764, status=deferred (connect to gsmtp163.google.com[64.233.163.27]: No route to host)
Jul 13 08:58:35 [postfix/smtp] connect to gmail-smtp-in.l.google.com[64.233.163.27]: No route to host (port 25)
Jul 13 08:58:38 [postfix/smtp] connect to gmail-smtp-in.l.google.com[64.233.163.114]: No route to host (port 25)
Jul 13 08:58:41 [postfix/smtp] connect to gmail-smtp-in.l.google.com[64.233.163.27]: No route to host (port 25)
Jul 13 08:58:44 [postfix/smtp] connect to gmail-smtp-in.l.google.com[64.233.163.114]: No route to host (port 25)
Jul 13 08:58:47 [postfix/smtp] connect to alt2.gmail-smtp-in.l.google.com[64.233.183.27]: No route to host (port 25)
Jul 13 08:58:50 [postfix/smtp] connect to alt1.gmail-smtp-in.l.google.com[64.233.185.27]: No route to host (port 25)
Jul 13 08:58:53 [postfix/smtp] connect to alt2.gmail-smtp-in.l.google.com[64.233.183.114]: No route to host (port 25)
Jul 13 08:58:56 [postfix/smtp] connect to alt1.gmail-smtp-in.l.google.com[64.233.185.27]: No route to host (port 25)
Jul 13 08:58:59 [postfix/smtp] connect to alt2.gmail-smtp-in.l.google.com[64.233.183.114]: No route to host (port 25)
Jul 13 08:59:02 [postfix/smtp] connect to alt1.gmail-smtp-in.l.google.com[64.233.185.114]: No route to host (port 25)
Jul 13 08:59:05 [postfix/smtp] connect to alt2.gmail-smtp-in.l.google.com[64.233.183.27]: No route to host (port 25)
Jul 13 08:59:08 [postfix/smtp] connect to alt1.gmail-smtp-in.l.google.com[64.233.185.114]: No route to host (port 25)
Thanks for any ideas
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix relay thru gmail NeptunEz Linux - Networking 17 12-09-2006 09:10 AM
Gmail on Home Linux Box using Postfix and Fetchmail mchirico Linux - News 1 05-11-2005 05:37 PM
Google Gmail on Home Linux Box using Postfix and Fetchmail mchirico LinuxQuestions.org Member Success Stories 0 05-04-2005 03:42 PM
Google Gmail on Home Linux Box using Postfix and Fetchmail mchirico Linux - General 1 05-04-2005 03:13 PM
talk talk daemon configuration ananthkrk Red Hat 1 10-16-2004 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration