You are not logged in.
Pages: 1
Hello,
Has anyone tried to use mutt and gmail(imap)? I can see the messages in my inbox, but other folders appears empty. This setup works fine on Sylpheed, so I'm guessing it's a mutt configuration problem. My .muttrc:
### CONFIGURACOES ###
set mbox=+mbox
set mbox_type=Maildir
set folder="imaps://myuser@imap.gmail.com/"
set spoolfile="imaps://myuser@imap.gmail.com/INBOX"
set header_cache=~/.hcache
set record="imaps://myuser@imap.gmail.com/[Gmail]/Sent Mail"
set edit_headers=y
set sendmail="/usr/bin/msmtp"
set realname='Gustavo Carvalho'
set postponed="imaps://myuser@imap.gmail.com/[Gmail]/Drafts"
set sort=threads
set autoedit=no
set write_bcc=no
set metoo
set delete=yes
set include
set reply_to=yes
set sort_browser=reverse-date
set tilde
set markers=no
set collapse_unread=no
set nouse_domain
set charset=utf-8
set index_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s"
set mbox="!"
set from="..."
set reverse_name=yes
### HEADERS ###
source ~/.mutt/muttheaders
### CAIXAS ###
### URL VIEW ###
macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
### ABOOK ###
set query_command="abook --mutt-query '%s'"
macro pager A |'abook --add-email'\n
### CONTATOS ###
source ~/.mutt/contatos
source ~/.mutt/grupos
### CORES ###
#
color hdrdefault cyan default
color quoted cyan default
color quoted1 brightblue default
color quoted2 brightblue default
color quoted3 yellow default
color quoted4 red default
color signature cyan default
color indicator white cyan
color attachment cyan default
color error red default
color message white default
color search white default
color status brightcyan default
color tree white default
color normal white default
color tilde green default
color bold white default
color markers red default
color index cyan default ~N
Thanks for your help,
Gustavo
Last edited by Gustavo (2007-10-25 13:59:57)
Offline
How do you mean the folders are empty? Eveything is working fine for me.
One thing I noticed is that I have to press SPACE to see a folder when listed using "?".
If you press enter it just shows you the subdiectory.
The relevant part of my .muttrc is below.
set imap_user = 'topsecret@gmail.com' set imap_pass = 'topsecret' set spoolfile = imaps://imap.gmail.com:993/INBOX set folder = imaps://imap.gmail.com:993 set record="imaps://imap.gmail.com/[Gmail]/Sent Mail" set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"]
I was pressing enter.
Now I can see my mail. Thanks a lot!
Offline
Sorry for hijacking the thread, but I have a slightly related question:
Did anyone notice badly encoded "From" headers in index mode when accessing IMAP Gmail with mutt? I'm seeing stuff like "=?ISO-8859-1?Q?Wolfgang_N=E1dasi-Donner_", which is correctly shown in Thunderbird (IMAP Gmail) and in mutt when accessing the version stored in my homeserver (both versions are the same).
The "From" field looks fine in the pager, but is also shown incorrectly when replying!
Last edited by meqif (2007-10-26 22:56:28)
Ricardo Martins ><>< ricardomartins.cc ><>< GPG key: 0x1308F1B4
Offline
Yes, I noticed that too. Also, my mutt sometimes locks and I have to kill it when using imap gmail.
Offline
I can't get mutt to display umlauts properly, for some reason. I'm sending myself test messages containing åäö and they are displayed as ?'s. This is only for the message body, since the subject line is displayed properly.
Both mutt and vim have their encodings set to utf-8 and the attachment shows as 'text/plain, 8bit, utf-8'
Offline
I can't get mutt to display umlauts properly, for some reason. I'm sending myself test messages containing åäö and they are displayed as ?'s. This is only for the message body, since the subject line is displayed properly.
Both mutt and vim have their encodings set to utf-8 and the attachment shows as 'text/plain, 8bit, utf-8'
Do you have "set charset=utf-8" in .muttrc? Are you using an utf-8 compatible terminal emulator (like urxvt)? Does the email look fine in another email client?
Ricardo Martins ><>< ricardomartins.cc ><>< GPG key: 0x1308F1B4
Offline
Yes, yes and no. Turns out that they aren't displayed properly in thunderbird either, although they are using the gmail webclient.
edit: seems like it's a known google problem
Last edited by scj (2007-10-29 07:35:54)
Offline
Yes, yes and no. Turns out that they aren't displayed properly in thunderbird either, although they are using the gmail webclient.
edit: seems like it's a known google problem
Interesting. Probably both our issues with IMAP Gmail are related. I hope they fix them soon.
Last edited by meqif (2007-10-29 08:15:55)
Ricardo Martins ><>< ricardomartins.cc ><>< GPG key: 0x1308F1B4
Offline
I just set this up.. here's my config: http://phraktured.net/config/.mutt/gmailimap
Though you'll probably want something like so as well:
set header_cache=~/.mutt/hcache
set message_cachedir="~/.mutt/msgcache/"
set certificate_file=~/.mutt/certs
As a side note, I'm thinking about setting the trash folder to archive things, and make delete an extra step, because gmail is like that
Offline
Did anyone notice badly encoded "From" headers in index mode when accessing IMAP Gmail with mutt? I'm seeing stuff like "=?ISO-8859-1?Q?Wolfgang_N=E1dasi-Donner_", which is correctly shown in Thunderbird (IMAP Gmail) and in mutt when accessing the version stored in my homeserver (both versions are the same).
This is actually part of the email standard. I can't remember the details, but it's something of the form: email only supports latin1 or something like that, so to add in different characters, they need to be encoded in this form, and parsed by clients.
Offline
meqif wrote:Did anyone notice badly encoded "From" headers in index mode when accessing IMAP Gmail with mutt? I'm seeing stuff like "=?ISO-8859-1?Q?Wolfgang_N=E1dasi-Donner_", which is correctly shown in Thunderbird (IMAP Gmail) and in mutt when accessing the version stored in my homeserver (both versions are the same).
This is actually part of the email standard. I can't remember the details, but it's something of the form: email only supports latin1 or something like that, so to add in different characters, they need to be encoded in this form, and parsed by clients.
Yeah, I know that; that's RFC 2047 if my memory serves me well. The thing is, mutt parses those headers correctly when accessing mail stored on my home server but messes everything up when it is stored on Gmail.
Last edited by meqif (2007-11-09 08:51:12)
Ricardo Martins ><>< ricardomartins.cc ><>< GPG key: 0x1308F1B4
Offline
Did the OP try out offlineimap? The setup can be found in the Wiki under Mutt.
Todays mistakes are tomorrows catastrophes.
Offline
I was pressing enter.
Now I can see my mail. Thanks a lot!
Yeah I was doing that at first as well. Since enter works just fine for pop3 mbox's. If you have not figured this out yet though this is what I did to go back to using enter.
bind browser <return> view-file
Could not get used to using space after doing enter for years.
Offline
Did anyone notice badly encoded "From" headers in index mode when accessing IMAP Gmail with mutt? I'm seeing stuff like "=?ISO-8859-1?Q?Wolfgang_N=E1dasi-Donner_", which is correctly shown in Thunderbird (IMAP Gmail) and in mutt when accessing the version stored in my homeserver (both versions are the same).
Did you find any solution to this problem? I'm experiencing same here with gmail IMAP access.
MDK
Open Source Software Operations/Nokia
michael.kostrzewa (at) nokia.com
Offline
Check this bug report. It's Google's fault, apparently.
Ricardo Martins ><>< ricardomartins.cc ><>< GPG key: 0x1308F1B4
Offline
Pages: 1