nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] gmail oauth2 howto


From: Anders Eriksson
Subject: Re: [Nmh-workers] gmail oauth2 howto
Date: Sun, 9 Oct 2016 23:13:15 +0200



On Sun, Oct 9, 2016 at 9:58 PM, Ken Hornstein <address@hidden> wrote:
>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 address@hidden.  The full account
name is used in the mhlogin command, and I believe that's what I used when
I tested it.

--Ken


Hi Ken,

Many thanks. Adding the domain did the trick! :-)

Now over to dist and see how google treats it. Anyone know already?

-Anders


reply via email to

[Prev in Thread] Current Thread [Next in Thread]