Still getting “no authenticators available” with Gmail.  I’ve adapted the 
muttrc per suggestions — see below.  Welcome further tips!  :)

set from = “x...@gmail.com"
set use_from = yes
set envelope_from = yes

set smtp_url = "smtps://$xxx@$gmail....@smtp.gmail.com:465/"
set smtp_pass = “xx"
set imap_user = “x...@gmail.com"
set imap_pass = “xx"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"

# to get mail
bind index G imap-fetch-mail
set editor = "nano"
set charset = "utf-8"
set record = ''
set mail_check = 30

macro index,pager \cb "<pipe-message> urlscan<Enter>" "call urlscan to extract 
URLs out of a message"
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract 
URLs out of a message"

# to keep gmail connection
set imap_keepalive=180
set timeout=180

# to fix "no authenticators available" issue
set smtp_authenticators = 'gssapi:login'

> On Feb 9, 2021, at 11:17 AM, Hokan <hokan.ho...@gmail.com> wrote:
> 
> I'll ignore the unbalanced quotes as I assume they were munged when you
> edited your post...
> 
> I'm confused by the format of your "smtp_url", and "folder".
> I have these for gmail:
> 
> set smtp_url="smtps://$imap_user@$imap_hostn...@smtp.gmail.com"
> set folder="imaps://imap.gmail.com"
> 
> where imap_user and imap_hostname are set to something appropriate such
> as "hokan.hokan" and "gmail.com" in the present case.
> 
> I don't use ssl_force_tls as it doesn't seem necessary.
> 
> 
> On Tue, Feb 09, 2021 at 10:15:45AM -0500, Rob Pyott wrote:
>> Team, I get the error ???no authenticators available???  when trying to send 
>> Gmail with Mutt.  Welcome fixes, rc improvements!  
>> 
>> Specifics:  Mutt 2.05 on Mac.  New install.  I can read the inbox.  My 
>> password is the app-specific password.  .muttrc below.
>> 
>> ########
>> 
>> set realname = ???me"
>> set from = ???m...@gmail.com <mailto:m...@gmail.com>"
>> set use_from = yes
>> set envelope_from = yes
>> 
>> set smtp_url = "smtps://m...@gmail.com@smtp.gmail.com:465/ 
>> <smtps://me%40gmail....@smtp.gmail.com:465/>"
>> set smtp_pass = ???pwd"
>> set imap_user = m...@gmail.com <mailto:m...@gmail.com>"
>> set imap_pass = ???pwd"
>> set folder = "imaps://imap.gmail.com:993 <imaps://imap.gmail.com:993>"
>> set spoolfile = "+INBOX"
>> set ssl_force_tls = yes
>> 
>> # to get mail
>> bind index G imap-fetch-mail
>> set editor = "nano"
>> set charset = "utf-8"
>> set record = ''
>> set mail_check = 30
>> 
>> macro index,pager \cb "<pipe-message> urlscan<Enter>" "call urlscan to 
>> extract URLs out of a message"
> 
> -- 
> Hokan
> Bicyclist
> Sysadmin

Reply via email to