Mutt and Imap question

Linda haniganwork at earthlink.net
Tue Nov 13 18:26:59 UTC 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121113/b1b05627/attachment.html>


More information about the ubuntu-users mailing list