Thanks Micah,

I try with tcpdump, and this is the result, some servers (jankymail-a*dreamhost.com) are using auth methods, at the other hand, other servers (jankymail-m*dreamhost.com) do not use it. When I use Linux and Thunderbird, the servers has authentication, but with telnet, or upas not. Why? Why? Why?

look this:

Using Linux + Thunderbird

20:08:38.679978 IP 192.168.1.12.41663 > janky.mail.dreamhost.com.smtp: P 1:22(21) ack 41 win 92 <nop,nop,timestamp 470474 4213406710>
  0x0000:  4500 0049 f62e 4000 4006 2dea c0a8 010c  [EMAIL PROTECTED]@.-.....
  0x0010:  d061 8480 a2bf 0019 19c7 db66 e248 27eb  .a.........f.H'.
  0x0020:  8018 005c d05b 0000 0101 080a 0007 2dca  ...\.[........-.
  0x0030:  fb23 7bf6 4548 4c4f 205b 3139 322e 3136  .#{.EHLO.[192.16
  0x0040:  382e 312e 3132 5d0d 0a                   8.1.12]..
20:08:38.926309 IP janky.mail.dreamhost.com.smtp > 192.168.1.12.41663: P 41:192(151) ack 22 win 4401 <nop,nop,timestamp 4213406957 470474>
  0x0000:  4500 00cb 5016 4000 eb06 2880 d061 8480  [EMAIL PROTECTED](..a..
  0x0010:  c0a8 010c 0019 a2bf e248 27eb 19c7 db7b  .........H'....{
  0x0020:  8018 1131 8c85 0000 0101 080a fb23 7ced  ...1.........#|.
  0x0030:  0007 2dca 3235 302d 6a61 6e6b 796d 6169  ..-.250-jankymai
  0x0040:  6c2d 6132 2e67 2e64 7265 616d 686f 7374  l-a2.g.dreamhost
  0x0050:  2e63 6f6d 0d0a 3235 302d 5049 5045 4c49  .com..250-PIPELI
  0x0060:  4e49 4e47 0d0a 3235 302d 5349 5a45 2034  NING..250-SIZE.4
  0x0070:  3039 3630 3030 300d 0a32 3530 2d45 5452  0960000..250-ETR
  0x0080:  4e0d 0a32 3530 2d53 5441 5254 544c 530d  N..250-STARTTLS.
  0x0090:  0a32 3530 2d41 5554 4820 4c4f 4749 4e20  .250-AUTH.LOGIN.
  0x00a0:  504c 4149 4e0d 0a32 3530 2d41 5554 483d  PLAIN..250-AUTH=
  0x00b0:  4c4f 4749 4e20 504c 4149 4e0d 0a32 3530  LOGIN.PLAIN..250
  0x00c0:  2038 4249 544d 494d 450d 0a              .8BITMIME..

Using Plan9 + upas/smtp:

20:10:38.700084 IP 192.168.1.12.24932 > jankymail-mx1.g.dreamhost.com.smtp: P 1:14(13) ack 42 win 65535
  0x0000:  4500 0035 2b64 0000 fe06 7aca c0a8 010c  E..5+d....z.....
  0x0010:  d061 847e 6164 0019 6b46 c59f 9c31 53e3  .a.~ad..kF...1S.
  0x0020:  5018 ffff 4fc5 0000 4548 4c4f 206b 6978  P...O...EHLO.kix
  0x0030:  2e65 730d 0a                             .es..
20:10:38.929136 IP jankymail-mx1.g.dreamhost.com.smtp > 192.168.1.12.24932: P 42:150(108) ack 14 win 4393
  0x0000:  4500 0094 a577 4000 eb06 d357 d061 847e  [EMAIL PROTECTED]
  0x0010:  c0a8 010c 0019 6164 9c31 53e3 6b46 c5ac  ......ad.1S.kF..
  0x0020:  5018 1129 ae72 0000 3235 302d 6a61 6e6b  P..).r..250-jank
  0x0030:  796d 6169 6c2d 6d78 322e 672e 6472 6561  ymail-mx2.g.drea
  0x0040:  6d68 6f73 742e 636f 6d0d 0a32 3530 2d50  mhost.com..250-P
  0x0050:  4950 454c 494e 494e 470d 0a32 3530 2d53  IPELINING..250-S
  0x0060:  495a 4520 3430 3936 3030 3030 0d0a 3235  IZE.40960000..25
  0x0070:  302d 4554 524e 0d0a 3235 302d 5354 4152  0-ETRN..250-STAR
  0x0080:  5454 4c53 0d0a 3235 3020 3842 4954 4d49  TTLS..250.8BITMI
  0x0090:  4d45 0d0a                                ME..



Micah Stetson wrote:
STARTTLS
220 Ready to start TLS
EHLO kix.es
250-jankymail-mx2.g.dreamhost.com
250-PIPELINING
250-SIZE 40960000
250-ETRN
250 8BITMIME

The SMTP server doesn't claim to support AUTH.  You should get a line like this:

250 AUTH CRAM-MD5 DIGEST-MD5

Or some such.

Micah

Reply via email to