LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   postfix does not send mail / messages to google apps account (not even to spam) (http://www.linuxquestions.org/questions/linux-newbie-8/postfix-does-not-send-mail-messages-to-google-apps-account-not-even-to-spam-797760/)

qwerewq 03-25-2010 06:14 AM

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)


ilikejam 03-25-2010 07:29 AM

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

qwerewq 03-26-2010 03:39 AM

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


ilikejam 03-26-2010 06:49 AM

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.

qwerewq 03-26-2010 06:59 AM

is it possible to trace where it stops?
i think it is my ISP's block


All times are GMT -5. The time now is 05:24 AM.