I always get a message:

IMAP Authentication canceled 

And then:

Retrying plain authentication after [ALERT] application-specific

When I look at my google security settings I can't find any option to create an application specific password to associate with Alpine on my laptop.


  • 2
    If you have 2-step verification you can generate an "App password", 16 characters long, only for your alpine authentication. You can generate this token once you have logged in "youraccount.google.com" in the section "Sign-in & security" -> "App password". – andreatsh Dec 3 '16 at 17:39
  • It's myaccount.google.com and I don't see the "App password" link you are referencing. There is a 'connected apps & sites' section which doesn't include an option to generate a token. – Philip Kirkbride Dec 3 '16 at 17:53
  • 1
    My bad, I missed a step. "Sign-in & security" -> "Signin in to Google" -> "App password". – andreatsh Dec 3 '16 at 18:01

Do as recommended by Andreatsh in the comments.

Go to http://myaccount.google.com

Then "Sign-in & security" -> "Signin in to Google" -> "App password"

Once you create the one time password you will also have to run:

touch ~/.pine-passfile

This makes it so when you enter the gmail folder on Alpine you will be asked if you want to save the password.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.