LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2006, 04:56 AM   #1
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Postfix: Connection timed out


Hi,

Now I'm not sure if this is directly relating to postfix, or my routing...but here is the problem (NetBSD).

Now as far as I know, my main.cf is configured correctly, but when I try to send mail, this is what I get:

Code:
krusty# tail -f /var/log/maillog
Sep 27 19:40:14 krusty postfix/pickup[16817]: 3968E29A3E: uid=1000 from=<kristijan>
Sep 27 19:40:14 krusty postfix/cleanup[2544]: 3968E29A3E: message-id=<20060927094014.3968E29A3E@krusty.kristijan.org>
Sep 27 19:40:14 krusty postfix/qmgr[6909]: 3968E29A3E: from=<kristijan@krusty.kristijan.org>, size=301, nrcpt=1 (queue active)
Sep 27 19:40:44 krusty postfix/smtp[19771]: connect to gmail-smtp-in.l.google.com[72.14.205.27]: Connection timed out (port 25)
Sep 27 19:41:14 krusty postfix/smtp[19771]: connect to alt1.gmail-smtp-in.l.google.com[64.233.167.27]: Connection timed out (port 25)
Sep 27 19:41:44 krusty postfix/smtp[19771]: connect to alt2.gmail-smtp-in.l.google.com[66.249.83.27]: Connection timed out (port 25)
Sep 27 19:42:14 krusty postfix/smtp[19771]: connect to alt2.gmail-smtp-in.l.google.com[66.249.83.114]: Connection timed out (port 25)
Sep 27 19:42:44 krusty postfix/smtp[19771]: connect to alt1.gmail-smtp-in.l.google.com[64.233.167.114]: Connection timed out (port 25)
Sep 27 19:43:14 krusty postfix/smtp[19771]: connect to gsmtp183.google.com[64.233.183.27]: Connection timed out (port 25)
Sep 27 19:43:44 krusty postfix/smtp[19771]: connect to gsmtp163.google.com[64.233.163.27]: Connection timed out (port 25)
Sep 27 19:43:44 krusty postfix/smtp[19771]: 3968E29A3E: to=<kristijanmilos@gmail.com>, relay=none, delay=210, status=deferred (connect to gsmtp163.google.com[64.233.163.27]: Connection timed out)
This is what I get when I try and manually telnet into gmail-smtp-in.l.google.com:

Code:
kristijan@krusty:~$ telnet gmail-smtp-in.l.google.com 25
Trying 72.14.205.27...
telnet: Unable to connect to remote host: Connection timed out
I also have PF running on the box, this is the ruleset - http://www.kristijan.org/stuff/pf.conf

I can't see anything in the ruleset that would stop it from sending.

This problem isn't only with Gmail, I've tried sending to a Hotmail address and a school e-mail address all producing the same "Connection timed out" error message.

Any ideas?

-Kristijan
 
Old 09-27-2006, 04:52 PM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
gmail does not use port 25 but port 465 for outgoing mail

But most providers do not allow outgoing mail to other domain (as a prevention to send spam).
 
Old 09-27-2006, 08:38 PM   #3
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Original Poster
Rep: Reputation: 30
Hmm OK, so basically I want to be able to send mail from my box out to my gmail address.

Code:
echo text | mail -s "subject" email@gmail.com
How would I go about setting that up?

-Kristijan
 
Old 09-28-2006, 05:11 AM   #4
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Here is some information.

http://souptonuts.sourceforge.net/postfix_tutorial.html
 
  


Reply



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
scp Connection Timed out ku2006 Linux - Software 2 05-28-2006 04:06 PM
aMSN connection timed out d0lle Debian 1 09-05-2005 03:16 PM
connection timed out. moby Linux - Networking 0 10-13-2004 07:45 AM
Connection timed out tuttu Linux - Networking 2 08-06-2004 07:05 PM
Connection timed out Valluvan Programming 6 12-22-2002 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:20 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