<<< Date Index >>>     <<< Thread Index >>>

mutt + offlineimap



Hi, 

some days ago I tried to configure mutt with offlineimap on my local 
machine. I followed the instructions on the offlineimap-website, but I'm 
still not sure, why someone would change all to this. The only 
advantage of offlineimap seems to be having a local copy of my mails. 

But: I can't see, how many mails there are in the maildirs, or am I 
wrong? 

With my old config, I had a mixture of local mbox-files and 
remote-maildir-folders, I edited directly within mutt. It looked like 
this in the folder browser: 

user         8,2M Jan 12 23:27    =mbox1
user          76K Jan 14 16:43    =mbox2
user          39M Jan 09 23:34    =mbox3
5                     5 imaps://user@xxxxxxxxxxxxxxx/folder1
3                     3 imaps://user@xxxxxxxxxxxxxxx/folder2

So, I was able to see, how many new messages there are, and the mboxes 
are signed with 'N' instantly, when fetchmail delivers new mail to 
them.

With offlineimap it looks like this:

user         4,0K Jan 17 19:16    =server/folder1/
user         4,0K Jan 17 19:16    =server/folder2/

My problem: There is no sign, how many new mails there are - and the 
timestamp is not updated, when new mails arrive. In addition, the 
Maildirs are not marked instantly with N, when new mails arrive, only if 
I type 'c' or so. (So the 'beep' when new mails arrived is missing, too)

With my fetchmail+mutt-config I had specified all mailboxes directly 
like: 
set folder="~/mail" 
set mbox=+mbox               
mailboxes ! /var/mail/user
mailboxes /home/user/mail/inbox +mbox1 +mbox2 +mbox3
mailboxes {user@xxxxxxxxxxxxxxx/ssl}INBOX
mailboxes {user@xxxxxxxxxxxxxxx/ssl}folder1
mailboxes {user@xxxxxxxxxxxxxxx/ssl}folder2

my new muttrc looks like: 

set mbox_type=Maildir
set folder="$HOME/Maildir"
set mbox="~/Maildir"
source ~/Maildir/muttrc.mailboxes
set spoolfile=+server/INBOX

and ~/Maildir/muttrc.mailboxes:
mailboxes "+server/Drafts" "+server/INBOX" "+server/folder1"
which is automatically generated by offlineimap

Do you have the same configuration? How can I make it visible, how many 
(new) mails there are in each Maildir with offlineimap? And why aren't 
mailboxes flagged with N instantly when new mails arrive with 
offlineimaps autorefresh-option?

I hope, I could make my problems clear. If there's no solution for this, 
I think I'd mirror my Maildirs with offlineimap by hand, but use the old 
fetchmail+procmail+mutt combination.

Best regards, 
sigi