You are not logged in.
Hi all,
i have three mailboxes and I want to use mutt for reading emails. But I have problem, when I run mutt, it logs in to only one of mailbox and the next two emails are 'offline'. So, is possible to login to all mailboxes at once? Thx for help.
I have installed muttng 1.5.15-1
My .muttrc:
set signature="~/.signature"
set sig_on_top=yes
set editor="vim"
# imap
set timeout=60
set mail_check=30
#et imap_list_subscribed=yes
#et imap_check_subscribed=yes
set header_cache="~/.mutt_header_cache"
## ACCOUNTS
account-hook . 'set check_new=yes'
folder-hook imaps://imap.gmail.com 'set imap_user="yyy"'
folder-hook imaps://imap.gmail.com 'set imap_pass="xxx"'
folder-hook imaps://imap.gmail.com 'set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"'
folder-hook imaps://imap.gmail.com 'set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"'
folder-hook imaps://imap.gmail.com 'set spoolfile="imaps://imap.gmail.com/INBOX"'
folder-hook imaps://imap.gmail.com 'set folder="imaps://imap.gmail.com/INBOX"'
folder-hook imaps://imap.vsb.cz 'set imap_user="yyy"'
folder-hook imaps://imap.vsb.cz 'set imap_pass="xxx"'
folder-hook imaps://imap.vsb.cz 'set spoolfile="imaps://imap.vsb.cz/INBOX"'
folder-hook imaps://imap.vsb.cz 'set folder="imaps://imap.vsb.cz/INBOX"'
folder-hook imaps://mail.fv.cz 'set imap_user="yyy"'
folder-hook imaps://mail.fv.cz 'set imap_pass="xxx"'
folder-hook imaps://mail.fv.cz 'set spoolfile="imaps://mail.fv.cz/INBOX"'
folder-hook imaps://mail.fv.cz 'set folder="imaps://mail.fv.cz/INBOX"'
set spoolfile="imaps://imap.gmail.com/INBOX"
set folder="imaps://imap.gmail.com/INBOX"
## SMTP
set sendmail="msmtp"
set narrow_tree=no
set sort_aux=reverse-date
set sidebar_visible=yes
set sidebar_width=30
set sort=threads
unset move
set locale="cs_CZ.UTF8"
set include
auto_view text/html
## ABOOK
set query_command="abook --mutt-query '%s'"
macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
## MAILBOXES
mailboxes "imaps://imap.gmail.com/INBOX" \
" - Mailing Lists -" \
"imaps://imap.gmail.com/INBOX/Mailing lists/Python" \
"imaps://imap.gmail.com/INBOX/Mailing lists/Debian" \
" - Others -" \
"imaps://imap.gmail.com/INBOX/Nahravky" \
"imaps://imap.gmail.com/INBOX/Transactions" \
"imaps://imap.gmail.com/INBOX/Webs/GIGASERVER"
mailboxes " - school -" \
"imaps://imap.vsb.cz/INBOX"
mailboxes " - work -" \
"imaps://mail.fv.cz/INBOX"
## HEADERS
ignore * # this means "ignore all lines by default"
# unignore header fields I want to see
unignore from: subject to cc mail-followup-to date \
x-envelope-to \
x-diagnostic \
x-url
## COLORS
# used in all screens
color indicator black white
color search black white
color status brightcyan blue
# index
color index brightwhite default "~N" # new messages
color index brightwhite default "~O" # new messages
color index brightred default "~D" # deleted messages
# pager
color bold brightwhite default
color underline brightwhite default
color quoted cyan default
color quoted1 yellow default
color quoted2 cyan default
color quoted3 yellow default
color quoted4 cyan default
color quoted5 yellow default
color signature brightblue default
color markers brightred default
color tilde brightblue default
color attachment brightgreen default
# pager: message headers
color hdrdefault white default
color header brightwhite default "^Subject:"
color header brightcyan default "^Date:"
color header brightgreen default "^From[: ]"
color header brightyellow default "^To:|^Cc:|^Bcc:"
color header brightred default "^(Reply|Mail-Followup)-To:"
color header brightblue default "^[^:]*-Agent:|^[^:]*-Mailer:"
color header yellow default "^X-[^:]*:"
# URLs
color body brightcyan default "(finger|ftp|https?|news|telnet):[^ >)\"\t]+"
color body brightcyan default "www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
color body brightcyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+"
# *bold* _underlined_ /italic/ text (imperfect)
color body brightwhite default "(^|[^[:alnum:]])[*_/][-_&!.,[:alnum:]]+[*_/]($|[^[:alnum:]])"
# smileys (imperfect)
color body brightyellow default "(^| )[;:8]-?[][)(PDp/|\]+($| )"
color body brightyellow default "<[Bb]?[Gg]>"
# sidebar settings
bind index \Ck sidebar-prev
bind index \Cj sidebar-next
bind index \Co sidebar-open
bind pager \Ck sidebar-prev
bind pager \Cj sidebar-next
bind pager \Co sidebar-open
And sorry for my bad English
Proud to be ArchLinux64 user.
configs: http://github.com/Mihairu/config-files/tree/master
current desktop: here
Offline
You're getting exactly what you should with the "folder-hook" config property. I'd suggest you read up on mutt configuration when it comes to IMAP - there are about 4 or 5 different ways to connect.
You probably want to use the imaps://user@domain.com/MBOX syntax to connect on startup.
Offline
Also, have a look at offlineimap[1]. It is also mentioned in the Wiki under Mutt. It makes the handling of IMAP under mutt a lot more convenient.
Todays mistakes are tomorrows catastrophes.
Offline
Also, have a look at offlineimap[1]. It is also mentioned in the Wiki under Mutt. It makes the handling of IMAP under mutt a lot more convenient.
Thx for advice...
Proud to be ArchLinux64 user.
configs: http://github.com/Mihairu/config-files/tree/master
current desktop: here
Offline
Also, have a look at offlineimap[1]. It is also mentioned in the Wiki under Mutt. It makes the handling of IMAP under mutt a lot more convenient.
I disagree here. I like mutt's imap handling because it's all "one package" - the 40-apps-to-read-email think in linux has always irritated me - fetchmail, procmail, sendmail, mutt... ugh. If I can just use one app, I'll be happy.
Offline
@phrakture:
But then again, having one application for one specific job is the Unix-Way; it's pretty KISS to have an dedicated app for IMAP, for SMTP, for organizing your emails etc. Fits perfectly to Arch!
I just made that suggestion to help the OP, lets not turn this into a "I don't like the way XYZ is done!"-thread.
Todays mistakes are tomorrows catastrophes.
Offline
Oh, I wants a cookie!
Mutt does one thing well: reading mails via maildir/mbox.
If you think mutt does imap well, I'm afraid you're delusional.
Even with the hcache patch it's ridiculously slow, because it always grabs all the headers.
Now... What does offlineimap do? It syncs all your configured IMAP setups with a local maildir.
<french word that ends with "la">: best of both worlds.
Also, the unix way is a crap argument. Just in case you think I'm supporting any of you guys. ;-)
An all-in-wonder-solution to that problem is obviously thunderbird, but that one can't run via ssh.
So we end up with the usual suspect: emacs.
BADAM TISH! :-P
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline
If you think mutt does imap well, I'm afraid you're delusional.
Even with the hcache patch it's ridiculously slow, because it always grabs all the headers.
Hmm, well, let me put it this way - it's no slower than reading large maildirs full of ML mails that I never archived. With 3000 messages in one dir, it took some time to open it up - mutts imap is as fast here, which is why I have no complaints.
Offline
klapmuetz wrote:If you think mutt does imap well, I'm afraid you're delusional.
Even with the hcache patch it's ridiculously slow, because it always grabs all the headers.
Hmm, well, let me put it this way - it's no slower than reading large maildirs full of ML mails that I never archived. With 3000 messages in one dir, it took some time to open it up - mutts imap is as fast here, which is why I have no complaints.
I have a completely different experience...
But I can't argue for mutt one way or the other, because I don't think that the traditional way of opening mailboxes scales well.
I much more like the way news clients handle that stuff... But yeah, another holy war. ;-)
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline
Another reason to access imap through offlineimap or isync is that some imap servers do not support imap search, so that you can not do remote searches. This is - ironically enough - the case of gmail's imap implementation. When you sync with local maildirs you can index and search them with powerful tools such as mairix.
Mortuus in anima, curam gero cutis
Offline