On Fri, Oct 05, 2012 at 05:03:06PM +0200, Paolo Pisati wrote:
> On Fri, Oct 05, 2012 at 12:39:42PM +0100, Jamie Paul Griffin wrote:
> > The problem is with your setting of $spoolfile. By default, mutt uses 
> > ~/Mail for it's mailboxes. If you want to use ~/Maildir for your mailboxes 
> > you need to specify $folder to ~/Maildir, which you have done. But, you 
> > want ~/Maildir/inbox to be your spoolfile, so you need to put this in muttrc
> > 
> >     set folder=~/Maildir
> >     set spoolfile=+inbox
> >     ...
> 
> thanks, it worked.

ok, but i've another problem now:

whenever i press 'c' to change mailbox i get an empty screen (previously it 
would show me the content
of ~/Maildir) and to get the list of mailboxes i either have to:

-press TAB once

or

-press another time 'c', and when it shows "Chdir to: /home/flag/Maildir/" 
press enter

what could be wrong now?

set mbox_type=Maildir
set folder="~/Maildir/"
set spoolfile=+inbox
set mask="!^\\.[^.]"
set record="+.Sent"
set postponed="+.Drafts"

set from="Foo Bar <[email protected]>"
set sendmail = "/usr/bin/msmtp -a gmail"

source ~/.mutt/mailboxes

and ~/.mutt/mailboxes is a file created by offlineimap containing:

mailboxes "+gmail/bak.drafts" "+gmail/bak.flagged" "+gmail/bak.important" 
"+gmail/bak.sent" "+gmail/bak.spam" "+gmail/bak.trash" "+gmail/beagleboard" 
"+gmail/canonical" "+gmail/cazzeggio" "+gmail/drafts" "+gmail/gdb" 
"+gmail/groupfuffa" "+gmail/gufi" "+gmail/inbox" "+gmail/jobs" "+gmail/linaro" 
"+gmail/linux" "+gmail/linux.arm" "+gmail/linux.btrfs" "+gmail/linux.cgroup" 
"+gmail/linux.kernel-newbies" "+gmail/linux.kexec" "+gmail/linux.lkml" 
"+gmail/linux.mips" "+gmail/linux.mmc" "+gmail/linux.netdev" 
"+gmail/linux.omap" "+gmail/linux.patch" "+gmail/linux.pull" 
"+gmail/linux.regression" "+gmail/linux.samsung" "+gmail/linux.sound" 
"+gmail/linux.tegra" "+gmail/linux.tip" "+gmail/linux.usb" "+gmail/mutt" 
"+gmail/openocd" "+gmail/openwrt" "+gmail/pandaboard" "+gmail/personal" 
"+gmail/personal.ags" "+gmail/personal.casa" "+gmail/personal.fatture" 
"+gmail/personal.groupon" "+gmail/personal.job" "+gmail/personal.pirelli" 
"+gmail/personal.piva" "+gmail/personal.sky" "+gmail/queue" "+gmail/sent" 
"+gmail/trash" "+gmail/u-boot"

-- 
bye,
p.

Reply via email to