LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix can't talk to Gmail (https://www.linuxquestions.org/questions/linux-software-2/postfix-cant-talk-to-gmail-463490/)

cs-cam 07-12-2006 08:02 PM

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?

Tinkster 07-13-2006 01:33 PM

How about posting one of those errors (obfuscating irrelevant details)?


Cheers,
Tink

cs-cam 07-13-2006 08:18 PM

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 :)


All times are GMT -5. The time now is 10:47 PM.