nmh-workers
[Top] [All Lists]

Re: Help with Gmail

2019-12-04 13:31:00
Ken Hornstein <kenh@pobox.com> writes:
I wonder if somebody might be willing to tell me the exact arguments
to inc and to send for getting mail from and to Gmail, given that
my Gmail username is Normanzalmonshapiro@Gmail.com and password is
foobar. Also, what, if anything, do I need to do with mhlogin.

To start out some testing, for inc I'd do something like:

% inc -host pop.gmail.com -port 995 -initialtls -sasl -user Normanzalmonsh=
apiro@Gmail.com

If it is all working right, you should get a prompt asking you for a passw=
ord
and that's where you enter "foobar".  (Let's not muddy the waters with
putting the password in a file right now).

For send it is probably something like:

send -server smtp.gmail.com -port 587 -tls -sasl -user Normanzalmonshapiro=
@Gmail.com

Again, should ask you for a password if things go right.

If things go WRONG, then add "-snoop" to the above lines and post the outp=
ut.

Don't do anything with mhlogin at this time.

With inc, I got a core dump without and with the -snoop. The output, with the
-snoop. is below. I don't think I should send the 2.4 megabyte core dump to
the whole group, but if you want me to, I will send it to you.


Trying to connect to "pop.gmail.com" ...
Connecting to 74.125.142.109:995...
TLS negotiation successful: ECDHE-RSA-AES128-GCM-SHA256(128) TLSv1/SSLv3
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES128-GCM-SHA256
    Session-ID: 488EE18CCC51A8798E874480241034D85391706FD4AD63A0DBC5EB6E45BDC3DF
    Session-ID-ctx:
    Master-Key: 
D5C0F6BE4310C8A2C36DA858415CBE352D624D888EBB54F2771AD448F4F508F4217D1E41AA2A5F5ED9D2D871F38AB575
    Key-Arg   : None
    Krb5 Principal: None
    PSK identity: None
    PSK identity hint: None
    TLS session ticket lifetime hint: 100800 (seconds)
    TLS session ticket:
    0000 - 00 9f 68 fa 9d eb 3c a7-6a 5a 21 9d e8 c3 b2 db   ..h...<.jZ!.....
    0010 - dd 43 12 59 92 21 81 ff-56 49 1e 7c e3 2d 38 e2   .C.Y.!..VI.|.-8.
    0020 - f7 6a ff cd 08 82 74 45-f8 ed c2 fe 90 57 51 1c   .j....tE.....WQ.
    0030 - 22 ce ea e1 3e 34 91 1f-20 e7 71 cd 4d 63 ec c1   "...>4.. .q.Mc..
    0040 - 56 af 72 d8 e1 d4 70 63-06 ef 92 89 bf 06 cb 07   V.r...pc........
    0050 - 60 dc f0 92 33 90 31 92-15 6c c4 29 d3 1b 9a d4   `...3.1..l.)....
    0060 - 9a d7 54 1e 1e 0d de 51-d2 62 c5 5a df a8 de 9f   ..T....Q.b.Z....
    0070 - c1 d1 b9 1d c5 21 09 68-07 c2 a5 4b ed ee d2 81   .....!.h...K....
    0080 - b5 7b 6b d8 d0 69 01 69-cd dd 63 c7 09 60 a1 30   .{k..i.i..c..`.0
    0090 - 71 76 0e 46 ea 9b 77 3b-28 c5 fc a6 1a 25 59 39   qv.F..w;(....%Y9
    00a0 - 94 3c c1 12 b0 94 11 c8-62 3f 4d 94 4c be f9 25   .<......b?M.L..%
    00b0 - 04 f9 70 4f 39 26 b0 65-b6 53 11 e0 e5 e4 32 6e   ..pO9&.e.S....2n
    00c0 - f9 63 50 10 4e 73 cb c2-f7 c6 3c fd 91 26 83 d3   .cP.Ns....<..&..
    00d0 - a6 a5 9a 12 a1                                    .....

    Start Time: 1575487361
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
(tls-decrypted) <= +OK Gpop ready for requests from 198.144.206.54 
v13mb35444593ivm
(tls-encrypted) => CAPA
(tls-decrypted) <= +OK Capability list follows
(tls-decrypted) <= USER
(tls-decrypted) <= RESP-CODES
(tls-decrypted) <= EXPIRE 0
(tls-decrypted) <= LOGIN-DELAY 300
(tls-decrypted) <= TOP
(tls-decrypted) <= UIDL
(tls-decrypted) <= X-GOOGLE-RICO
(tls-decrypted) <= SASL PLAIN XOAUTH2 OAUTHBEARER
(tls-decrypted) <= .
Password (pop.gmail.com:Normanzalmonshapiro@Gmail.com):
/t/,s: line 1:  7501 Segmentation fault      (core dumped) inc -host 
pop.gmail.com -port 995 -initialtls -sasl -user Normanzalmonshapiro@Gmail.com 
-snoop

    Norman Shapiro


<Prev in Thread] Current Thread [Next in Thread>