Mutt + offlineimap - how to automatically detect and sync only valid mailbox folders

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












In the mutt email client, how do I specify only valid mailboxes to appear (for example in the sidebar or when I manually change folders using c)? I am using mutt for offline email usage and hence check_imap_subscribed will not be applicable here.



I have about 30 mailboxes in my office365 account. I do not want to manually type out each of their names and use the mailbox command. The closest command I found upon searching online was the following



mailboxes `find -H ~/Mail -mindepth 0 -maxdepth 3 -type d ! -name "Spam" -printf "+'%f' "`


However, this also pulls in some invalid foldernames (such as +cur, +tmp, +new and a few others)










share|improve this question

























    up vote
    0
    down vote

    favorite












    In the mutt email client, how do I specify only valid mailboxes to appear (for example in the sidebar or when I manually change folders using c)? I am using mutt for offline email usage and hence check_imap_subscribed will not be applicable here.



    I have about 30 mailboxes in my office365 account. I do not want to manually type out each of their names and use the mailbox command. The closest command I found upon searching online was the following



    mailboxes `find -H ~/Mail -mindepth 0 -maxdepth 3 -type d ! -name "Spam" -printf "+'%f' "`


    However, this also pulls in some invalid foldernames (such as +cur, +tmp, +new and a few others)










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      In the mutt email client, how do I specify only valid mailboxes to appear (for example in the sidebar or when I manually change folders using c)? I am using mutt for offline email usage and hence check_imap_subscribed will not be applicable here.



      I have about 30 mailboxes in my office365 account. I do not want to manually type out each of their names and use the mailbox command. The closest command I found upon searching online was the following



      mailboxes `find -H ~/Mail -mindepth 0 -maxdepth 3 -type d ! -name "Spam" -printf "+'%f' "`


      However, this also pulls in some invalid foldernames (such as +cur, +tmp, +new and a few others)










      share|improve this question













      In the mutt email client, how do I specify only valid mailboxes to appear (for example in the sidebar or when I manually change folders using c)? I am using mutt for offline email usage and hence check_imap_subscribed will not be applicable here.



      I have about 30 mailboxes in my office365 account. I do not want to manually type out each of their names and use the mailbox command. The closest command I found upon searching online was the following



      mailboxes `find -H ~/Mail -mindepth 0 -maxdepth 3 -type d ! -name "Spam" -printf "+'%f' "`


      However, this also pulls in some invalid foldernames (such as +cur, +tmp, +new and a few others)







      configuration email mail-server mutt email-client






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 6 at 10:51









      Krishna

      1066




      1066

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1012369%2fmutt-offlineimap-how-to-automatically-detect-and-sync-only-valid-mailbox-fol%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1012369%2fmutt-offlineimap-how-to-automatically-detect-and-sync-only-valid-mailbox-fol%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error