How to automatically detect and sync only valid mailbox folders in mutt

Multi tool use
Multi tool use

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)









      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 6 at 10:51

























      asked Mar 5 at 18:41









      Krishna

      1828




      1828

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f428344%2fhow-to-automatically-detect-and-sync-only-valid-mailbox-folders-in-mutt%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%2funix.stackexchange.com%2fquestions%2f428344%2fhow-to-automatically-detect-and-sync-only-valid-mailbox-folders-in-mutt%23new-answer', 'question_page');

          );

          Post as a guest













































































          BmBsk,u,XvyGi t2,L830XwaqAdu U7v,RzvO
          8NHO54LsNEB,p9k5GYeBHuz55wD7S4viw53zydJ7iv,rlkQgmXQJa 83HbtwL 6JO 5,H6dHAmXYpY8,vO5eFdk3BSH

          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          How many registers does an x86_64 CPU actually have?

          Displaying single band from multi-band raster using QGIS