You are not logged in.

#1 2006-10-05 06:35:31

karsten
Member
Registered: 2006-07-14
Posts: 261

can't get postfix to send to google

i'm trying to set up postfix to send to my google account, but it keeps timing out.  in /etc/postfix/main.cf i have myhostname = localhost.localdomain.  i'm on a cable internet connection.  any ideas?

Oct  5 01:27:43 karstenhome postfix/postfix-script: starting the Postfix mail system
Oct  5 01:27:43 karstenhome postfix/master[3680]: daemon started -- version 2.2.11, configuration /etc/postfix
Oct  5 01:27:52 karstenhome postfix/pickup[3681]: EEB87208F9: uid=0 from=<root>
Oct  5 01:27:52 karstenhome postfix/cleanup[3690]: EEB87208F9: message-id=<20061005062752>
Oct  5 01:27:52 karstenhome postfix/qmgr[3683]: EEB87208F9: from=<root>, size=837, nrcpt=1 (queue active)
Oct  5 01:28:23 karstenhome postfix/smtp[3692]: connect to gmail-smtp-in.l.google.com[64.233.163.27]: Connection timed out (port 25)
Oct  5 01:28:53 karstenhome postfix/smtp[3692]: connect to gmail-smtp-in.l.google.com[64.233.163.114]: Connection timed out (port 25)
Oct  5 01:29:23 karstenhome postfix/smtp[3692]: connect to alt2.gmail-smtp-in.l.google.com[64.233.183.27]: Connection timed out (port 25)
Oct  5 01:29:53 karstenhome postfix/smtp[3692]: connect to alt1.gmail-smtp-in.l.google.com[64.233.185.27]: Connection timed out (port 25)
Oct  5 01:30:23 karstenhome postfix/smtp[3692]: connect to alt1.gmail-smtp-in.l.google.com[64.233.185.114]: Connection timed out (port 25)

Offline

#2 2006-10-05 10:21:16

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: can't get postfix to send to google

Gmail checks if you have a valid hostname (ie. an existing DNS record) and if that's not the case it drops the connection. It's a simple anti-spam measure, I use it on my postfix-based mail server too.
You should adjust your postfix configuration and even better use domain masquerade and relay your mails through your ISP's smtp server. Search google (irony smile) for HOW-TOs.

Offline

#3 2006-10-09 12:56:21

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: can't get postfix to send to google

Yes, there are two possible ways to do this. You could go directly to the google smtp server and create a dyndns domain, or you can go through your ISP's server. In my case, I just use my ISP's server because it is an open relay to members within their network. You have to be careful with SMTP and isp's because some block port 25 incoming, which could keep your server from recieving mail (which could affect you depending on hat you intend to do).

Offline

Board footer

Powered by FluxBB