.......... Thu 28.Mar'13 at 12:27:32 -0300  Eduardo Figueira Ramos ...........

> Hi list members,
> 
> i have my mutt configured and running, but i got a doubt.
> 
> I would like that the folder ".Sent" be  listed when i press 'c' character. 
> Now only the incoming directory ~/.mdir is being listed.
> 
> Here my .muttrc:
> 
> set mbox_type=Maildir
> set spoolfile="~/.mdir"
> set folder="~/.mdir"
> set mask="!^\\.[^.]"
> set record="+.Sent"
> set postponed="+.Drafts"
> 
> set from="henry.t...@gmail.com"
> 
> mailboxes ! + '\\
> for file in ~/.mdir/.*; do \\
>         box=$(basename "$file"); \\
>         if [ ! "$box" = '.' -a ! "$box" = '..' -a ! "$box" = '.customflags' \\
>                 -a ! "$box" = '.subscriptions' ]; then \\
>                 echo -n "\"+$box\" "; \\
>         fi; \\
> done'
> 
> macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
> macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"

Try setting $mask to :

        set mask=.

That is what I do with my mutt on my mail server which uses imap
maildirs with a dot at the beginning of the mailbox name. I don't use
imap when reading mail from the imap server itself, I simply use mutt to
read the maildirs. This should help you.

You could also set the $MAIL environment variable to ~/.mdir and you
won't need to set spoolfile. mutt will pick it up from the environment:

        set mbox_type=Maildir
        set folder=$MAIL
        set mask=.
        set record=+.Sent
        set postponed=+.Drafts
        ...

Try this and see if it suits you. 

Jamie

-- 
James Griffin:  jmz at kontrol.kode5.net 
                                jmzgriffin at gmail.com

A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38

Reply via email to