On 22/09/2018 05.46, Dave Howorth wrote:
On Fri, 21 Sep 2018 20:54:52 +0200 Per Jessen
wrote: Okay, let me post some output so you can both see:
per@io64:~/Documents> host gmail-smtp-in.l.google.com. gmail-smtp-in.l.google.com has address 173.194.79.27 gmail-smtp-in.l.google.com has IPv6 address 2a00:1450:4013:c05::1a
per@io64:~/Documents> telnet 173.194.79.27 25 Trying 173.194.79.27... Connected to 173.194.79.27. Escape character is '^]'. 220 mx.google.com ESMTP x2-v6si4659966edq.366 - gsmtp EHLO klop99.example.com 250-mx.google.com at your service, [185.85.248.1] 250-SIZE 157286400 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 MAIL FROM:
250 2.1.0 OK x2-v6si4659966edq.366 - gsmtp RCPT TO: 250 2.1.5 OK x2-v6si4659966edq.366 - gsmtp DATA 354 Go ahead x2-v6si4659966edq.366 - gsmtp From: per@jessen.ch To: pjessen55@gmail.com Subject: testing 6667 . 250 2.0.0 OK 1537551453 x2-v6si4659966edq.366 - gsmtp quit 221 2.0.0 closing connection x2-v6si4659966edq.366 - gsmtp Connection closed by foreign host.
Sorry, I've lost track of where exactly in the thread we are now, but this is a good one to reply to. From here in the UK:
$ host googlemail.com googlemail.com has address 216.58.204.69 googlemail.com has IPv6 address 2a00:1450:4009:80c::2005 googlemail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com. googlemail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com. googlemail.com mail is handled by 5 gmail-smtp-in.l.google.com. googlemail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com. googlemail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.
so we start off with a different address for googlemail. :)
From Spain: cer@Isengard:~> host googlemail.com googlemail.com has address 172.217.168.165 googlemail.com has IPv6 address 2a00:1450:4003:80b::2005 googlemail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com. googlemail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com. googlemail.com mail is handled by 5 gmail-smtp-in.l.google.com. googlemail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com. googlemail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com. cer@Isengard:~>
$ host gmail.com gmail.com has address 216.58.198.165 gmail.com has IPv6 address 2a00:1450:4009:80c::2005 gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com. gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com. gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com. gmail.com mail is handled by 5 gmail-smtp-in.l.google.com. gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
gmail has the same different address
cer@Isengard:~> host gmail.com gmail.com has address 172.217.16.229 gmail.com has IPv6 address 2a00:1450:4003:802::2005 gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com. gmail.com mail is handled by 5 gmail-smtp-in.l.google.com. gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com. gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com. gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com. cer@Isengard:~>
$ telnet gmail-smtp-in.l.google.com 25 Trying 173.194.76.27... Connected to gmail-smtp-in.l.google.com. Escape character is '^]'. 220 mx.google.com ESMTP l1-v6si122118wra.6 - gsmtp EHLO howorth.org.uk 250-mx.google.com at your service, [88.97.62.77] 250-SIZE 157286400 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 MAIL FROM:
250 2.1.0 OK l1-v6si122118wra.6 - gsmtp RCPT TO: 250 2.1.5 OK l1-v6si122118wra.6 - gsmtp DATA 354 Go ahead l1-v6si122118wra.6 - gsmtp From: dave@howorth.org.uk To: pjessen55@gmail.com Subject: testing sorry I don't have a gmailaddress :) . 250 2.0.0 OK 1537608788 l1-v6si122118wra.6 - gsmtp quit 221 2.0.0 closing connection l1-v6si122118wra.6 - gsmtp Connection closed by foreign host.
MAIL FROM: robin.listas@telefonica.net RCPT TO: pjessen55@gmail.com DATA subject: hello test test . cer@Isengard:~> telnet gmail-smtp-in.l.google.com 25 Trying 64.233.166.27... Connected to gmail-smtp-in.l.google.com. Escape character is '^]'. 220 mx.google.com ESMTP n81-v6si8524156wma.25 - gsmtp MAIL FROM: robin.listas@telefonica.net 503 5.5.1 EHLO/HELO first. n81-v6si8524156wma.25 - gsmtp RCPT TO: pjessen55@gmail.com 503 5.5.1 EHLO/HELO first. n81-v6si8524156wma.25 - gsmtp DATA 503 5.5.1 EHLO/HELO first. n81-v6si8524156wma.25 - gsmtp subject: hello test 502 5.5.1 Unrecognized command. n81-v6si8524156wma.25 - gsmtp quit 221 2.0.0 closing connection n81-v6si8524156wma.25 - gsmtp Connection closed by foreign host. cer@Isengard:~> I'm missing some command. A EHLO, but I don't have a domain. Well, I do, but... (I get nervous when typing at the telnet thing)
And I get to telnet to a different host as well, but it seems to behave like Per's one, not like the North American one(s).
Or maybe it knows that Per and my domains are run by fine upstanding people who don't send spam? :) So trusts us to send plaintext.
Or that you have a properly defined domain with reverse dns. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))