Simple muttrc file for accessing Gmail imap
For some blind and visually impaired users graphical user interfaces are as frustrating as a game of blindfolded archery. Does anyone have a simple good example of a muttrc file that can access gmail imap email by just changing "username" to your real user name and "password" to your real password? Thanks, David
Re: Simple muttrc file for accessing Gmail imap
I think I can help there, only thing is mine has the mutt blind-friendly options in it. On Sat, 24 Aug 2019, D.J.J. Ring, Jr. wrote: > Date: Sat, 24 Aug 2019 10:09:48 > From: "D.J.J. Ring, Jr." > To: mutt-users@mutt.org > Subject: Simple muttrc file for accessing Gmail imap > > For some blind and visually impaired users graphical user interfaces are as > frustrating as a game of blindfolded archery. > > Does anyone have a simple good example of a muttrc file that can access > gmail imap email by just changing "username" to your real user name and > "password" to your real password? > > Thanks, > > David > --
Re: Simple muttrc file for accessing Gmail imap
Hello Jude, It's possible to access gmail and download messages by adding imap locations and NOT use a mail transport program. Everything is set up within the muttrc file. Burt Henry of the Vinux Wiki. Mutt vs. Alpine. http://wiki.vinuxproject.org/alpine_mutt Mutt Configuration and Basic Use. http://wiki.vinuxproject.org/mutt_configuration_and_basic_use He manages to do this just in muttrc. Here's the section of muttrc, ##Account Specific Settings # Change the following six lines to match your Gmail account details #And Uncomment and edit if YOU DO NOT WANT to USE ENCRYPTED PASSWD. #And comment out the top section that does the PW encryption. set imap_user = "gmail_han...@gmail.com" #set imap_pass = "my_PW" set smtp_url = "smtp://gmail_han...@smtp.gmail.com:587/" #set smtp_pass = "my_PW" set from = "gmail_han...@gmail.com" set realname = "My Name" # Change the following line to a different editor you prefer. set editor = "nano" ## GMail Config #(most of this should work with other IMAP accounts) ## Basic config, you can leave this as is in most cases # Not sure if timeout and keepalive value tweaking will help intermittent connection issues # (time values are in seconds) set wait_key = no set folder = "imaps://imap.gmail.com:993" set spoolfile = "+INBOX" set imap_check_subscribed set hostname = gmail.com set mail_check = 180 set timeout = 300 # Allow Mutt to open new imap connection automatically. unset imap_passive # Keep IMAP connection alive by polling intermittently set imap_keepalive = 210 set postponed = "+[GMail]/Drafts" set record = "+[GMail]/Sent Mail" set header_cache=~/.mutt/cache/headers set message_cachedir=~/.mutt/cache/bodies set certificate_file=~/.mutt/certificates set alias_file=~/.mutt/aliases set move = no set include set sort = 'threads' set sort_aux = 'reverse-last-date-received' set auto_tag = yes ## Reminds you of missing subject&unmodified or empty body with msg sent as default set abort_nosubject = ask-no set abort_unmodified = ask-no ignore "Authentication-Results:" ignore "DomainKey-Signature:" ignore "DKIM-Signature:" hdr_order Date From To Cc alternative_order text/plain text/html * auto_view text/html This is from page: http://wiki.vinuxproject.org/muttrc Unfortunately, there are errors in his delightfully easy gpg configuration, and sometimes he has googlemail instead of gmail and googlemail no longer works for me in this muttrc. There is also a more elaborate muttrc file with more features, but maybe the same errors, I'm going through it step by step and writing down the errors. Since I have access to the Vinux Wiki I will upload the corrections as soon as I make sure they are correct. Best wishes, David Ring On Sat, Aug 24, 2019, 10:14 Jude DaShiell wrote: > I think I can help there, only thing is mine has the mutt blind-friendly > options in it. > > On Sat, 24 Aug 2019, D.J.J. Ring, Jr. wrote: > >
Re: Simple muttrc file for accessing Gmail imap
mutt is set up to download pop3 but has no keyboard shortcut to download imap or didn't the last time I went through its documentation. On Sat, 24 Aug 2019, D.J.J. Ring, Jr. wrote: > Date: Sat, 24 Aug 2019 11:41:42 > From: "D.J.J. Ring, Jr." > To: Jude DaShiell > Cc: mutt-users@mutt.org > Subject: Re: Simple muttrc file for accessing Gmail imap > > Hello Jude, > > It's possible to access gmail and download messages by adding imap > locations and NOT use a mail transport program. Everything is set up > within the muttrc file. > > Burt Henry of the Vinux Wiki. > > Mutt vs. Alpine. > http://wiki.vinuxproject.org/alpine_mutt > > Mutt Configuration and Basic Use. > http://wiki.vinuxproject.org/mutt_configuration_and_basic_use > > He manages to do this just in muttrc. > > Here's the section of muttrc, > > ##Account Specific Settings > # Change the following six lines to match your Gmail account details > #And Uncomment and edit if YOU DO NOT WANT to USE ENCRYPTED PASSWD. > #And comment out the top section that does the PW encryption. > set imap_user = "gmail_han...@gmail.com" > #set imap_pass = "my_PW" > set smtp_url = "smtp://gmail_han...@smtp.gmail.com:587/" > #set smtp_pass = "my_PW" > set from = "gmail_han...@gmail.com" > set realname = "My Name" > > # Change the following line to a different editor you prefer. > set editor = "nano" > > ## GMail Config > #(most of this should work with other IMAP accounts) > ## Basic config, you can leave this as is in most cases > # Not sure if timeout and keepalive value tweaking will help > intermittent connection issues > # (time values are in seconds) > set wait_key = no > set folder = "imaps://imap.gmail.com:993" > set spoolfile = "+INBOX" > set imap_check_subscribed > set hostname = gmail.com > set mail_check = 180 > set timeout = 300 > # Allow Mutt to open new imap connection automatically. > unset imap_passive > # Keep IMAP connection alive by polling intermittently > set imap_keepalive = 210 > set postponed = "+[GMail]/Drafts" > set record = "+[GMail]/Sent Mail" > set header_cache=~/.mutt/cache/headers > set message_cachedir=~/.mutt/cache/bodies > set certificate_file=~/.mutt/certificates > set alias_file=~/.mutt/aliases > set move = no > set include > set sort = 'threads' > set sort_aux = 'reverse-last-date-received' > set auto_tag = yes > ## Reminds you of missing subject&unmodified or empty body with msg > sent as default > set abort_nosubject = ask-no > set abort_unmodified = ask-no > ignore "Authentication-Results:" > ignore "DomainKey-Signature:" > ignore "DKIM-Signature:" > hdr_order Date From To Cc > alternative_order text/plain text/html * > auto_view text/html > > This is from page: http://wiki.vinuxproject.org/muttrc > > Unfortunately, there are errors in his delightfully easy gpg configuration, > and sometimes he has googlemail instead of gmail and googlemail no longer > works for me in this muttrc. > > There is also a more elaborate muttrc file with more features, but maybe > the same errors, I'm going through it step by step and writing down the > errors. > > Since I have access to the Vinux Wiki I will upload the corrections as soon > as I make sure they are correct. > > Best wishes, > > David Ring > > On Sat, Aug 24, 2019, 10:14 Jude DaShiell wrote: > > > I think I can help there, only thing is mine has the mutt blind-friendly > > options in it. > > > > On Sat, 24 Aug 2019, D.J.J. Ring, Jr. wrote: > > > > > --
Re: Simple muttrc file for accessing Gmail imap
On Sat, Aug 24, 2019 at 1:21 PM Jude DaShiell wrote: > mutt is set up to download pop3 but has no keyboard shortcut to download > imap or didn't the last time I went through its documentation. > > I've had this in my muttrc for years. Don't if if any of these values are optimum as I don't use mutt much anymore but it does work. $ grep imap ./.mutt/muttrc | egrep -v ^# set spoolfile=imaps://imap.gmail.com/INBOX set folder=imaps://imap.gmail.com/ set imap_keepalive = 900 set imap_user='m...@markanderika.com' set imap_pass=x set imap_keepalive=300 unset imap_passive set postponed=imaps://stag.mark-and-erika.com/INBOX.postponed macro index ,g "force retrieval of mail from IMAP server" macro pager ,g "force retrieval of mail from IMAP server"
Re: Simple muttrc file for accessing Gmail imap
Interesting, so you would hit ,g to download imap email? On Sat, 24 Aug 2019, Mark Frank wrote: > Date: Sat, 24 Aug 2019 14:00:27 > From: Mark Frank > To: mutt-users@mutt.org > Subject: Re: Simple muttrc file for accessing Gmail imap > > On Sat, Aug 24, 2019 at 1:21 PM Jude DaShiell wrote: > > > mutt is set up to download pop3 but has no keyboard shortcut to download > > imap or didn't the last time I went through its documentation. > > > > > I've had this in my muttrc for years. Don't if if any of these values are > optimum as I don't use mutt much anymore but it does work. > > > $ grep imap ./.mutt/muttrc | egrep -v ^# > set spoolfile=imaps://imap.gmail.com/INBOX > set folder=imaps://imap.gmail.com/ > set imap_keepalive = 900 > set imap_user='m...@markanderika.com' > set imap_pass=x > set imap_keepalive=300 > unset imap_passive > set postponed=imaps://stag.mark-and-erika.com/INBOX.postponed > macro index ,g "force retrieval of mail from IMAP server" > macro pager ,g "force retrieval of mail from IMAP server" > --
Re: Simple muttrc file for accessing Gmail imap
Yes. Just tested and confirmed as I don't use mutt as much as I used to do. On Sat, Aug 24, 2019 at 2:25 PM Jude DaShiell wrote: > Interesting, so you would hit ,g to download imap email? > > On Sat, 24 Aug 2019, Mark Frank wrote: > > macro index ,g "force retrieval of mail from IMAP > server" > > macro pager ,g "force retrieval of mail from IMAP > server" > > > > -- > >
Re: Simple muttrc file for accessing Gmail imap
Yes, those macros work and do so silently. Thanks for the macros and the idea to bind stuff to the comma key. I hadn't thought of that one before. On Sat, 24 Aug 2019, Mark Frank wrote: > Date: Sat, 24 Aug 2019 14:00:27 > From: Mark Frank > To: mutt-users@mutt.org > Subject: Re: Simple muttrc file for accessing Gmail imap > > On Sat, Aug 24, 2019 at 1:21 PM Jude DaShiell wrote: > > > mutt is set up to download pop3 but has no keyboard shortcut to download > > imap or didn't the last time I went through its documentation. > > > > > I've had this in my muttrc for years. Don't if if any of these values are > optimum as I don't use mutt much anymore but it does work. > > > $ grep imap ./.mutt/muttrc | egrep -v ^# > set spoolfile=imaps://imap.gmail.com/INBOX > set folder=imaps://imap.gmail.com/ > set imap_keepalive = 900 > set imap_user='m...@markanderika.com' > set imap_pass=x > set imap_keepalive=300 > unset imap_passive > set postponed=imaps://stag.mark-and-erika.com/INBOX.postponed > macro index ,g "force retrieval of mail from IMAP server" > macro pager ,g "force retrieval of mail from IMAP server" > --
Re: Getting color on FreeBSD
On Thu, Aug 22, 2019 at 08:14:28PM EDT, Tim Chase wrote: > I'm a bit stuck trying to figure out why colors aren't working for me > on FreeBSD (where I understand that termcap is used rather than > terminfo). According to the configure script it appears all you need for color is start_color() from ncurses which should be there in the base system. Can you provide 'mutt -v' output? Does it have +HAVE_COLOR? Are you building mutt from source or using ports/pkg? If so can you provide the output off 'pkg info -f mutt' > So the terminal is doing color as expected, but somehow mutt/neomutt > doesn't seem to recognize that. Is there some trick that I've missed > for getting mutt/neomutt to play well with termcap/FreeBSD? I'm doing nothing special in ports/pkg or from source and colors just works with macOS Terminal/iTerm2, or cygwin xterm. Do you get color unknown command when you try to use 'color ...' in a .muttrc?
mutt 1.05 TLS socket terminated?
Since I posted this problem, I did a apt-get update for other reasons and the tls problem seems to have disappeared. (So far anyhow) Tom Fowle WA6IVG Using mutt 1.5.23 with Debian 8 jessie. I am getting the following problem while reading messages. approximately: "The TLS socket was improperly terminated. can not copy messages." This appears on the screen for only just long enough for my screen reader to grab it but dissappears before I can copy or check it.. I then have the usual top line menu and a blank screen. Being simplistic by nature I just exit mutt and restart but all messages which have been marked for deletion remain in the inbox and unless i have kept carefull track of the last read message number before the TLS error I have to trundle through all the previously read messages till I find the first unmarked message. This problem is becomming more frequent, often two occurrences in a hundred message session. Before I get into just updating mutt and debian as the most likely resolutions, would like to know if this is a known problem and whether the mutt or "OS" updates are more likely to fix it. PLS don't yell at me for not being up to date, I hate updating. So now I'm paying the price. TNX Tom Fowle WA6IVG