Mutt and Imap question

James Freer jessejazza3.uk at gmail.com
Wed Nov 14 00:11:49 UTC 2012


On Tue, 13 Nov 2012, Linda wrote:

> I'm taking Ping's suggestion and am trying Mutt for remote email access.
> I use dovecot with Maildir for the imap server. I can view the inbox fine but can't
> access the subdirectories
> 
> Here is the .muttrc lines that would be relevant
> 
> set spoolfile=imap://office-mail@star/
> set folder=imap://office-mail@star/
> set record=imap://office-mail@star/Sent
> set imap_user=office-mail
> mailboxes =/home/office-mail/Maildir/
>  mailboxes + `\
>  for file in ~/.maildir/.*; do \
>    box=$(basename "$file"); \
>    if [ ! "$box" = '.' -a ! "$box" = '..' -a ! "$box" = '.customflags' \
>        -a ! "$box" = '.subscriptions' ]; then \
>      echo -n "\"+$box\" "; \
>    fi; \
> done; \
>  for folder in ~/.maildir/*; do \
>    if [ -x $folder]; then \
>          box=$(basename "$folder"); \
>          for file in ~/.maildir/$box/.*; do \
>                 box2=$(basename "$file"); \
>                 if [ ! "$box2" = '.' -a ! "$box2" = '..' -a ! "$box2" = '.customflags'
> \
>                  -a ! "$box2" = '.subscriptions' ]; then \
>                    echo -n "\"+$box/$box2\" "; \
>                 fi; \
>          done; \
>     fi; \
>   done`
> 
> I am pretty sure I need to change ~/maildir to something but don't know what to use in
> its place.  Also I changed mailboxes from Mail to Maildir but it doesn't seem to change
> anything.
> 
>                  Thanks
>                   Linda

Can't help i gave up using Mutt and switched to Alpine which is great for remote 
mailboxes. Try the Mutt mail list if no one here can help.

james


More information about the ubuntu-users mailing list