Re: Two-phase authentication?

2015-02-12 Thread David Champion
* On 12 Feb 2015, Peter Davis wrote: 
> 
> Aha! I'm sorry. I misinterpreted your reply. You mean I have to
> create an application-specific password to use IMAP once I've enabled
> 2-factor authentication. (I don't know where I got "authentification"
> from ... fingers on auto-pilot, I guess.)

Yes, I think that's right.  I haven't enabled 2FA myself but that's how
it works when you have a Google Apps account using an organizational
SAML login, and you want to use IMAP. :)

-- 
David Champion • d...@bikeshed.us


Re: Two-phase authentication?

2015-02-12 Thread Peter Davis
On Thu, Feb 12, 2015 at 11:35:52AM -0500, Peter Davis wrote:
> On Thu, Feb 12, 2015 at 10:17:00AM -0600, David Champion wrote:
> > * On 12 Feb 2015, Peter Davis wrote: 
> > > I think I know the answer to this, and I think it's "no," but just for 
> > > fun, is there any way to use mutt with GMail's 2-phase authentication?
> > 
> > (The last time I checked) GMail doesn't support 2-factor with IMAP.  You
> > have to set up an "application-specific password" to enable 2-factor
> > for web and the mobile app, while still using IMAP.  This isn't
> > mutt-specific, it's for any IMAP client.
> 
> Interesting. What I experienced is:

Aha! I'm sorry. I misinterpreted your reply. You mean I have to create an 
application-specific password to use IMAP once I've enabled
2-factor authentication. (I don't know where I got "authentification" from ... 
fingers on auto-pilot, I guess.)

Thanks!
-pd


-- 

Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com


Re: Two-phase authentification?

2015-02-12 Thread Peter Davis
On Thu, Feb 12, 2015 at 10:17:00AM -0600, David Champion wrote:
> * On 12 Feb 2015, Peter Davis wrote: 
> > I think I know the answer to this, and I think it's "no," but just for fun, 
> > is there any way to use mutt with GMail's 2-phase authentification?
> 
> (The last time I checked) GMail doesn't support 2-factor with IMAP.  You
> have to set up an "application-specific password" to enable 2-factor
> for web and the mobile app, while still using IMAP.  This isn't
> mutt-specific, it's for any IMAP client.

Interesting. What I experienced is:

1) I attempted to connect with mutt, and got prompted for my password.
2) I entered my usual password.
3) I saw a long message flash on the screen very quickly. I could not read past 
the first word ... "Warning". Then mutt displayed "Login failed"
4) I got an email from GMail telling me that someone had attempted to login, 
and that I would have to disable the 2-factor authentification to use this 
client

Thanks,
-pd


-- 

Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com


Re: Two-phase authentification?

2015-02-12 Thread David Champion
* On 12 Feb 2015, Peter Davis wrote: 
> I think I know the answer to this, and I think it's "no," but just for fun, 
> is there any way to use mutt with GMail's 2-phase authentification?

(The last time I checked) GMail doesn't support 2-factor with IMAP.  You
have to set up an "application-specific password" to enable 2-factor
for web and the mobile app, while still using IMAP.  This isn't
mutt-specific, it's for any IMAP client.

References:
https://productforums.google.com/forum/#!topic/gmail/WUaXHSdI3WM
https://support.google.com/mail/answer/1173270?hl=en

-- 
David Champion • d...@bikeshed.us


Two-phase authentification?

2015-02-12 Thread Peter Davis
I think I know the answer to this, and I think it's "no," but just for fun, is 
there any way to use mutt with GMail's 2-phase authentification?

I generally use mutt for another imap server, and use other tools for GMail, 
but I now have a use for reading GMail via mutt, and wondered if there's a way 
to do this without
simply disabling the 2-phase authentification.

The GMail app and the Web site will require me to enter a security code that's 
been SMS messaged to my phone, but I suspect mutt has no way to work around 
that. Am I right?

Thanks!

-pd


-- 

Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com


Re: Troubles with html attachments

2015-02-12 Thread Philippe Delavalade
Sorry for the personnal message instaid of the list :-(

Le mercredi 11 février à 21:22, JaviMicro a écrit :
> * On  9 feb 2015, Philippe Delavalade wrote:
> [...]
> Let's we see the list of your keybindings.
> 
> In any of your messages with _html_ attachments, please
> press 'v' to see list of attachments, and then press '?' to get
> the list of active binding keys (It is a long list).
> 
> Search in the second column following entries:
>   "view-attach"
>   "view-text"
>   "view-mailcap"

I've got
 view-attach
T   view-text
m   view-mailcap
for each mime-type.

But, 'm' works with mpeg or pdf ; with html, screen is frozen...

I tried to modifie my .mailcap file and simplify the html line with just :

text/html; /usr/bin/lynx -force_html '%s'

Then when doing 'v' and  on the attachment, I always have a text
plain but, now, with 'm' I can really see the attachment.

So, I think it's good for me, 'm' instead of  is not too
difficult :-) 

Many thanks for your help.

-- 
Ph. Delavalade