loveten
By:
loveten

how I send smtp mail server

October 6, 2017 121 views
Email Ubuntu 16.04

I got time out when I try to send mail server

Oct  6 16:55:27 mst postfix/qmgr[26733]: BC956BB893: from=<xxx@domain.com>, size=388, nrcpt=1 (queue active)
Oct  6 16:55:54 mst postfix/smtp[26735]: connect to gmail-smtp-in.l.google.com[74.125.68.27]:25: Connection timed out
Oct  6 16:55:54 mst postfix/smtp[26736]: connect to gmail-smtp-in.l.google.com[74.125.68.27]:25: Connection timed out
Oct  6 16:55:54 mst postfix/smtp[26737]: connect to gmail-smtp-in.l.google.com[74.125.68.27]:25: Connection timed out
Oct  6 16:55:54 mst postfix/smtp[26738]: connect to gmail-smtp-in.l.google.com[74.125.68.26]:25: Connection timed out
Oct  6 16:55:57 mst postfix/smtp[26744]: connect to gmail-smtp-in.l.google.com[74.125.68.26]:25: Connection timed out
Oct  6 16:56:24 mst postfix/smtp[26736]: connect to alt1.gmail-smtp-in.l.google.com[74.125.28.26]:25: Connection timed out
Oct  6 16:56:24 mst postfix/smtp[26737]: connect to alt1.gmail-smtp-in.l.google.com[74.125.28.27]:25: Connection timed out
Oct  6 16:56:24 mst postfix/smtp[26738]: connect to alt1.gmail-smtp-in.l.google.com[74.125.28.26]:25: Connection timed out
Oct  6 16:56:24 mst postfix/smtp[26735]: connect to alt1.gmail-smtp-in.l.google.com[74.125.28.26]:25: Connection timed out
Oct  6 16:56:27 mst postfix/smtp[26744]: connect to alt1.gmail-smtp-in.l.google.com[74.125.28.27]:25: Connection timed out
Oct  6 16:56:54 mst postfix/smtp[26737]: connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out
Oct  6 16:56:54 mst postfix/smtp[26738]: connect to alt2.gmail-smtp-in.l.google.com[64.233.178.27]:25: Connection timed out
Oct  6 16:56:54 mst postfix/smtp[26735]: connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out
Oct  6 16:56:54 mst postfix/smtp[26736]: connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out
Oct  6 16:56:57 mst postfix/smtp[26744]: connect to alt2.gmail-smtp-in.l.google.com[64.233.178.26]:25: Connection timed out
Oct  6 16:57:25 mst postfix/smtp[26736]: connect to alt3.gmail-smtp-in.l.google.com[74.125.124.26]:25: Connection timed out
Oct  6 16:57:25 mst postfix/smtp[26738]: connect to alt3.gmail-smtp-in.l.google.com[74.125.124.27]:25: Connection timed out
Oct  6 16:57:25 mst postfix/smtp[26735]: connect to alt3.gmail-smtp-in.l.google.com[74.125.124.27]:25: Connection timed out
Oct  6 16:57:25 mst postfix/smtp[26737]: connect to alt3.gmail-smtp-in.l.google.com[74.125.124.26]:25: Connection timed out
Oct  6 16:57:27 mst postfix/smtp[26744]: connect to alt3.gmail-smtp-in.l.google.com[74.125.124.26]:25: Connection timed out
Oct  6 16:57:55 mst postfix/smtp[26738]: connect to alt4.gmail-smtp-in.l.google.com[173.194.219.26]:25: Connection timed out
Oct  6 16:57:55 mst postfix/smtp[26735]: connect to alt4.gmail-smtp-in.l.google.com[173.194.219.27]:25: Connection timed out
Oct  6 16:57:55 mst postfix/smtp[26736]: connect to alt4.gmail-smtp-in.l.google.com[173.194.219.27]:25: Connection timed out
Oct  6 16:57:55 mst postfix/smtp[26737]: connect to alt4.gmail-smtp-in.l.google.com[173.194.219.26]:25: Connection timed out
Oct  6 16:57:55 mst postfix/smtp[26738]: DE7DEBB8D3: to=<test@gmail.com>, relay=none, delay=2307, delays=2157/0.03/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.219.26]:25: Connection timed out)
Oct  6 16:57:55 mst postfix/smtp[26738]: using backwards-compatible default setting relay_domains=$mydestination to update fast-flush logfile for domain "gmail.com"
Oct  6 16:57:55 mst postfix/smtp[26735]: 6EFBFBB8CF: to=<test@gmail.com>, relay=none, delay=2564, delays=2413/0.01/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.219.27]:25: Connection timed out)
Oct  6 16:57:55 mst postfix/smtp[26735]: using backwards-compatible default setting relay_domains=$mydestination to update fast-flush logfile for domain "gmail.com"
Oct  6 16:57:55 mst postfix/smtp[26736]: 1ACCABB8B8: to=<test@gmail.com>, relay=none, delay=4799, delays=4649/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.219.27]:25: Connection timed out)
Oct  6 16:57:55 mst postfix/smtp[26736]: using backwards-compatible default setting relay_domains=$mydestination to update fast-flush logfile for domain "gmail.com"
Oct  6 16:57:55 mst postfix/smtp[26737]: 7DA7BBB8B4: to=<test@gmail.com>, relay=none, delay=4852, delays=4701/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.219.26]:25: Connection timed out)
Oct  6 16:57:55 mst postfix/smtp[26737]: using backwards-compatible default setting relay_domains=$mydestination to update fast-flush logfile for domain "gmail.com"
Oct  6 16:57:57 mst postfix/smtp[26744]: connect to alt4.gmail-smtp-in.l.google.com[173.194.219.26]:25: Connection timed out
Oct  6 16:57:57 mst postfix/smtp[26744]: BC956BB893: to=<test@gmail.com>, relay=none, delay=150, delays=0.03/0.01/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.219.26]:25: Connection timed out)
Oct  6 16:57:57 mst postfix/smtp[26744]: using backwards-compatible default setting relay_domains=$mydestination to update fast-flush logfile for domain "gmail.com"
Oct  6 16:58:05 mst kernel: [1296062.103471] [UFW BLOCK] IN=eth0 OUT= MAC=##:##:##:##:##:##:##:c##:##:##:##:##:##:## SRC=##.##.##.## DST=##.##.#.#¯ LEN=122 TOS=0x00 PREC=0x00 TTL=48 ID=0 DF PROTO=UDP SPT=31135 DPT=1900 LEN=102

how I fix them

1 Answer

Hi - I guess port being used may not be correct.
All services have moved on to SSL now esp. Google. Their SSL-SMTP port is 465

Have another answer? Share your knowledge.