nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] gmail oauth2 howto

2016-10-09 14:58:16
Is there a verbose switch to show e.g. which user/pwd its using? I've been
away from nmh for 15 years so memory is a bit rusty...

The -snoop flag to send will show the complete network transaction, and
includes decoding the base64 encoding.  In this particular case, though,
I believe it won't be so useful because it will include a bearer token
rather than a password.

Next step? andtho888 is a gmail user account (the same as the one I
authenticated with with the broswer). The mhlogin man page is not clear
what 'user' is. It could just as well be read as just <token> to be used
verbatim with -user for send(1) fo the purpose of some internal linkage.

I believe for you, -user should be andtho888(_at_)gmail(_dot_)com.  The full 
account
name is used in the mhlogin command, and I believe that's what I used when
I tested it.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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