/~.neomuttrc for Gmail
by xponent from LinuxQuestions.org on (#6CEA8)
I am trying to set up .neomuttrc for Gmail. The actual account is with New York University which runs under Gmail. I am using a Raspberry Pi 4 running Debian Bullseye. The following are the SMTP and IMAP settings for the university: smtp.nyu.edu:465 and imap.cims.nyu.edu:993. When I execute Neomutt I receive the following messages: login failed, No authenticators available or wrong credentials.
NYU login is in two steps: Enter your NetID:, Enter your password: The NetID is not my email address.
The following is my ~/.neomuttrc:
# I added the line below for SSL
set ssl_starttls = yes
# Mt NetID again.
set imap_user = "My NetID"
# My password
set imap_pass = "xxxxxxxxxxxxx"
# If using SSL I believe port 587 should be used instead of 465. Either way it didn't work.
# Also notice I have changed smtp to SMPTS.
set smtp_url = "smtps://My NetID@smtp.nyu.edu:465/"
set smtp_pass = "xxxxxxxxxxxxx="
set from = "xxxxxxx@nyu.edu"
set realname = "James x xxxxx"
set folder = "imaps://imap.cims.nyu.edu:993/"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
set move = no
set sort = 'threads'
set sort_aux = 'last-date-received'
set imap_check_subscribed
set editor='gedit "+normal \\ec" +/^$/'
# Colors
color normal white default
color hdrdefault cyan default
color attachment yellow default
color header brightyellow default "From: "
color header brightyellow default "Subject: "
color header brightyellow default "Date: "
color quoted green default
color quoted1 cyan default
color quoted2 green default
color quoted3 cyan default
color error red default # error messages
color message white default # message informational messages
color indicator white red # indicator for the "current message"
color status white blue # status lines in the folder index sed for the mini-help line
color tree red default # the "tree" display of threads within the folder index
color search white blue # search matches found with search within the internal pager
color markers red default # The markers indicate a wrapped line hen showing messages with looong lines
color index yellow default '~O'
color index yellow default '~N'
color index brightred default '~F' # Flagged Messages are important!
color index blue default '~D' # Deleted Mails - use dark color as these are already "dealt with"
NYU login is in two steps: Enter your NetID:, Enter your password: The NetID is not my email address.
The following is my ~/.neomuttrc:
# I added the line below for SSL
set ssl_starttls = yes
# Mt NetID again.
set imap_user = "My NetID"
# My password
set imap_pass = "xxxxxxxxxxxxx"
# If using SSL I believe port 587 should be used instead of 465. Either way it didn't work.
# Also notice I have changed smtp to SMPTS.
set smtp_url = "smtps://My NetID@smtp.nyu.edu:465/"
set smtp_pass = "xxxxxxxxxxxxx="
set from = "xxxxxxx@nyu.edu"
set realname = "James x xxxxx"
set folder = "imaps://imap.cims.nyu.edu:993/"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
set move = no
set sort = 'threads'
set sort_aux = 'last-date-received'
set imap_check_subscribed
set editor='gedit "+normal \\ec" +/^$/'
# Colors
color normal white default
color hdrdefault cyan default
color attachment yellow default
color header brightyellow default "From: "
color header brightyellow default "Subject: "
color header brightyellow default "Date: "
color quoted green default
color quoted1 cyan default
color quoted2 green default
color quoted3 cyan default
color error red default # error messages
color message white default # message informational messages
color indicator white red # indicator for the "current message"
color status white blue # status lines in the folder index sed for the mini-help line
color tree red default # the "tree" display of threads within the folder index
color search white blue # search matches found with search within the internal pager
color markers red default # The markers indicate a wrapped line hen showing messages with looong lines
color index yellow default '~O'
color index yellow default '~N'
color index brightred default '~F' # Flagged Messages are important!
color index blue default '~D' # Deleted Mails - use dark color as these are already "dealt with"