LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2010, 05:14 AM   #1
qwerewq
LQ Newbie
 
Registered: Mar 2010
Location: Lithuania, Vilnius, Pasilai
Distribution: Debian (testing)
Posts: 27

Rep: Reputation: 0
Question postfix does not send mail / messages to google apps account (not even to spam)


Hello! How are you? I wanted to ask why my postfix does not send emails to google account (there is no email's in spam) but it sends local emails... I do not want to use my ISP's smtp...

here is my postconf -n:
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = doma.in, localhost
myhostname = doma.in
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = doma.in
readme_directory = no
recipient_delimiter = +
relayhost = 
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP # $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
My /valr/log/mail.*:

err:
Code:
Mar 22 14:09:03 doma.in postfix/sendmail[32203]: fatal: user(33): No recipient addresses found in message header
info:
Code:
Mar 25 11:57:04 doma.in postfix/smtp[13160]: connect to ASPMX.L.GOOGLE.COM[209.85.229.27]:25: Connection timed out
Mar 25 11:57:17 doma.in postfix/smtp[13148]: connect to ALT1.ASPMX.L.GOOGLE.COM[209.85.220.39]:25: Connection timed out
info:
Code:
Mar 25 11:58:34 doma.in postfix/smtp[13160]: connect to ASPMX2.GOOGLEMAIL.COM[209.85.135.27]:25: Connection timed out
Mar 25 11:58:47 doma.in postfix/smtp[13148]: connect to ASPMX5.GOOGLEMAIL.COM[209.85.210.4]:25: Connection timed out
Mar 25 11:58:47 doma.in postfix/smtp[13148]: 7C29672385: to=<rus..as@l..c.lt>, relay=none, delay=152, delays=0.06/0.02/152/0, dsn=4.4.1, status=deferred (connect to ASPMX5.GOOGLEMAIL.COM[209.85.210.4]:25: Connection timed out)
Mar 25 11:59:04 doma.in postfix/smtp[13160]: connect to ASPMX5.GOOGLEMAIL.COM[209.85.210.3]:25: Connection timed out
Mar 25 11:59:04 doma.in postfix/smtp[13160]: D7D7B7237B: to=<rus...as@l...c.lt>, relay=none, delay=67804, delays=67650/0.05/154/0, dsn=4.4.1, status=deferred (connect to ASPMX5.GOOGLEMAIL.COM[209.85.210.3]:25: Connection timed out)

Last edited by qwerewq; 03-25-2010 at 05:49 AM.
 
Old 03-25-2010, 06:29 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Your main problem is 'Connection timed out'. If you do:

$ telnet ASPMX.L.GOOGLE.COM 25

do you get a connection (should reply with 220 mx.google.com )?

Dave
 
1 members found this post helpful.
Old 03-26-2010, 02:39 AM   #3
qwerewq
LQ Newbie
 
Registered: Mar 2010
Location: Lithuania, Vilnius, Pasilai
Distribution: Debian (testing)
Posts: 27

Original Poster
Rep: Reputation: 0
is it possible to fix?
i have quite a nice ping to that host:
Code:
64 bytes from ww-in-f27.1e100.net (209.85.229.27): icmp_seq=1 ttl=53 time=44.6 ms
64 bytes from ww-in-f27.1e100.net (209.85.229.27): icmp_seq=2 ttl=53 time=44.4 ms
64 bytes from ww-in-f27.1e100.net (209.85.229.27): icmp_seq=3 ttl=53 time=44.5 ms
64 bytes from ww-in-f27.1e100.net (209.85.229.27): icmp_seq=4 ttl=53 time=46.1 ms
64 bytes from ww-in-f27.1e100.net (209.85.229.27): icmp_seq=5 ttl=53 time=55.2 ms
64 bytes from ww-in-f27.1e100.net (209.85.229.27): icmp_seq=6 ttl=53 time=51.1 ms
 
Old 03-26-2010, 05:49 AM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Either your router/firewall is blocking outgoing TCP/25, you've got iptables blocking outgoing port 25, or your Internet provider doesn't allow SMTP hosts on its network.
 
Old 03-26-2010, 05:59 AM   #5
qwerewq
LQ Newbie
 
Registered: Mar 2010
Location: Lithuania, Vilnius, Pasilai
Distribution: Debian (testing)
Posts: 27

Original Poster
Rep: Reputation: 0
is it possible to trace where it stops?
i think it is my ISP's block
 
  


Reply

Tags
postfix



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 spam. someone is using my server to send spam and it's not open relay bob808 Linux - Server 6 03-23-2010 09:44 AM
Postfix not sending mail, using google apps scsa20 Linux - Server 2 07-28-2009 05:29 PM
Only one account does not receive messages in postfix brgsousa Linux - Software 1 03-05-2009 11:21 AM
How to configure sendmail only to send mail to external mail account Nivix Linux - Newbie 2 10-23-2008 12:46 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:24 PM.

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