It hasn’t crept in, it’s been like this. Google changed something.
discourse-doctor calls the test in /var/www/discourse/lib/tasks/emails.rake - if you’re in the image.
I changed:
Net::SMTP.start(smtp[:address], smtp[:port], 'localhost', smtp[:user_name], smtp[:password], smtp[:authentication])
to
Net::SMTP.start(smtp[:address], smtp[:port], 'conversation.sevarg.net', smtp[:user_name], smtp[:password], smtp[:authentication])
Now I get a different error.
======================================== ERROR ========================================
UNEXPECTED ERROR
503 5.5.1 bad sequence of commands e190sm562849qkd.9 - gsmtp
====================================== SOLUTION =======================================
This is not a common error. No recommended solution exists!
Please report the exact error message above to https://meta.discourse.org/
(And a solution, if you find one!)
=======================================================================================
BUT: importantly, the tcpdump shows something resembling a sane(ish) flow.
22:33:48.393862 IP 64.227.96.27.54610 > 74.125.137.28.587: Flags [P.], seq 1:31, ack 59, win 502, options [nop,nop,TS val 3732187266 ecr 3508646052], length 30
0x0000: 4500 0052 d4d6 4000 3f06 f237 40e3 601b E..R..@.?..7@.`.
0x0010: 4a7d 891c d552 024b 01b4 04a4 94ce dcc7 J}...R.K........
0x0020: 8018 01f6 74dc 0000 0101 080a de74 a882 ....t........t..
0x0030: d121 b0a4 4548 4c4f 2063 6f6e 7665 7273 .!..EHLO.convers
0x0040: 6174 696f 6e2e 7365 7661 7267 2e6e 6574 ation.sevarg.net
0x0050: 0d0a ..
22:33:48.408832 IP 74.125.137.28.587 > 64.227.96.27.54610: Flags [.], ack 31, win 256, options [nop,nop,TS val 3508646067 ecr 3732187266], length 0
0x0000: 4500 0034 5e5d 0000 2b06 bccf 4a7d 891c E..4^]..+...J}..
0x0010: 40e3 601b 024b d552 94ce dcc7 01b4 04c2 @.`..K.R........
0x0020: 8010 0100 a8ae 0000 0101 080a d121 b0b3 .............!..
0x0030: de74 a882 .t..
22:33:48.469560 IP 74.125.137.28.587 > 64.227.96.27.54610: Flags [P.], seq 59:234, ack 31, win 256, options [nop,nop,TS val 3508646128 ecr 3732187266], length 175
0x0000: 4500 00e3 5e8a 0000 2b06 bbf3 4a7d 891c E...^...+...J}..
0x0010: 40e3 601b 024b d552 94ce dcc7 01b4 04c2 @.`..K.R........
0x0020: 8018 0100 929f 0000 0101 080a d121 b0f0 .............!..
0x0030: de74 a882 3235 302d 736d 7470 2d72 656c .t..250-smtp-rel
0x0040: 6179 2e67 6d61 696c 2e63 6f6d 2061 7420 ay.gmail.com.at.
0x0050: 796f 7572 2073 6572 7669 6365 2c20 5b36 your.service,.[6
0x0060: 342e 3232 372e 3936 2e32 375d 0d0a 3235 4.227.96.27]..25
0x0070: 302d 5349 5a45 2031 3537 3238 3634 3030 0-SIZE.157286400
0x0080: 0d0a 3235 302d 3842 4954 4d49 4d45 0d0a ..250-8BITMIME..
0x0090: 3235 302d 5354 4152 5454 4c53 0d0a 3235 250-STARTTLS..25
0x00a0: 302d 454e 4841 4e43 4544 5354 4154 5553 0-ENHANCEDSTATUS
0x00b0: 434f 4445 530d 0a32 3530 2d50 4950 454c CODES..250-PIPEL
0x00c0: 494e 494e 470d 0a32 3530 2d43 4855 4e4b INING..250-CHUNK
0x00d0: 494e 470d 0a32 3530 2053 4d54 5055 5446 ING..250.SMTPUTF
0x00e0: 380d 0a 8..
So, at a minimum, sending the “EHLO localhost” or “EHLO localhost.localdomain” is part of the problem.
Now, how on earth does one go reporting a P0 issue to actual developers?