Hi All, First message to this list, but 2nd time I am trying to configure mutt. The first time seemed to have been more successful, but now with Gmail I am having some problems. I have installed mutt-1.5.21-r12 on Gentoo and set up two IMAP accounts, as shown in my .muttrc:
~/.muttrc ========= # General Options set mbox_type=Maildir set mail_check = 600 # Sidebar set sidebar_width=20 set sidebar_visible = yes # Ctrl-n, Ctrl-p to select next, prev folder # Ctrl-o to open selected folder bind index \CP sidebar-prev bind index \CN sidebar-next bind index \CO sidebar-open set sort=threads set imap_check_subscribed = yes set pager_stop # do not show all headers, just a few ignore * unignore From To Cc Bcc Date Subject X-Spam-Level X-Spam-Status User- agent X-Mailer Content-Type # and in this order unhdr_order * hdr_order From: To: Cc: Bcc: Date: Subject: X-Spam-Level: X-Spam-Status: User-agent: X-Mailer: Content-Type: #set folder_format="%2C %t %N %8s %d %f" # view different attachments set implicit_autoview auto_view text/html text/enriched application/x-gunzip application/postscript image/gif application/x-tar-gz macro index \cb |urlview\n macro pager \cb |urlview\n ## [email protected] source "~/.mutt/account1/.muttrc" folder-hook $folder '~/.mutt/account1/.muttrc' ## [email protected] source "~/.mutt/gmail/.muttrc" folder-hook $folder '~/.mutt/gmail/.muttrc' ====================================================== Not all of the above settings work as I thought they should - but I'll post separately about that. The immediate problem with Gmail is that it takes quite a long time to download the message headers when I login. I can sit there waiting for up to 2 minutes (on an ADSL connection) while more than 7.5MiB is being downloaded *each* time I login. Switching between folders can taken even longer. My ~/.mutt/gmail/.muttrc looks like this: ==================================================== set imap_user = "[email protected]" #set imap_pass = `gpg --decrypt ~/.mutt/.gmail_passwd.gpg` set smtp_url = "smtp://[email protected]:587/" #set smtp_pass = `gpg --decrypt ~/.mutt/.gmail_passwd.gpg` set from = "[email protected]" set realname = "Mick" set signature = ~/Mail/Signatures/gmail set ssl_starttls = yes ##set editor = "nano" set editor="vim -c 'set syntax=mail ft=mail enc=utf-8 spell spelllang=en'" set folder = "imaps://imap.gmail.com:993" set spoolfile = "imaps://imap.gmail.com:993/INBOX" #set record = "+INBOX/Sent Mail" set record = "+[Gmail]/Sent Mail" #set postponed = "+INBOX/Drafts" set postponed = "+[Gmail]/Drafts" set trash = "+[Gmail]/Bin" set header_cache = /var/tmp/.mutt/gmail/header_cache set message_cachedir = /var/tmp/.mutt/gmail/message_cache #set certificate_file =~/.mutt/certificates ==================================================== I suspect that my settings are incorrect, because I get a message of unknown command in ~/.mutt/gmail/.muttrc, when mutt starts. Can you please point any mistakes in my configuration? -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.
