Problems importing mbox files to Dovecot sdbox with doveadmDovecot high disk ioDovecot: doveadm move command syntaxrsync IMAP SENT folders between 2 usersDovecot not downloading mail from mboxDovecot namespace prefix relation to underlying Maildir structureProblems when launching doveadmDovecot Quotas are not recalculated nor is mail rejected if quota is exceededPermission difficulties with NFS-mounted /var/spool/mail for dovecot and procmailDovecot - Log All IMAP CommandsHow to restore dovecot doveadm backup

What was this black-and-white film set in the Arctic or Antarctic where the monster/alien gets fried in the end?

Strange math syntax in old basic listing

How was Apollo supposed to rendezvous in the case of a lunar abort?

Creating Fictional Slavic Place Names

The term for the person/group a political party aligns themselves with to appear concerned about the general public

chmod would set file permission to 000 no matter what permission i try to set

Humans meet a distant alien species. How do they standardize? - Units of Measure

60s (or earlier) short story where each colony has one person who doesn't connect well with others who is there for being able to absorb knowledge

etoolbox: AtBeginEnvironment is not At Begin Environment

Is it possible to kill all life on Earth?

How to make the POV character sit on the sidelines without the reader getting bored

Why do Russians call their women expensive ("дорогая")?

What does it mean when you think without speaking?

Can non-English-speaking characters use wordplay specific to English?

Is this light switch installation safe and legal?

Mother abusing my finances

Is having a hidden directory under /etc safe?

Is there an evolutionary advantage to having two heads?

If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?

Infinitely many hats

Fastest way to perform complex search on pandas dataframe

What does the 0>&1 shell redirection mean?

What caused the tendency for conservatives to not support climate change regulations?

Self-Preservation: How to DM NPCs that Love Living?



Problems importing mbox files to Dovecot sdbox with doveadm


Dovecot high disk ioDovecot: doveadm move command syntaxrsync IMAP SENT folders between 2 usersDovecot not downloading mail from mboxDovecot namespace prefix relation to underlying Maildir structureProblems when launching doveadmDovecot Quotas are not recalculated nor is mail rejected if quota is exceededPermission difficulties with NFS-mounted /var/spool/mail for dovecot and procmailDovecot - Log All IMAP CommandsHow to restore dovecot doveadm backup






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















OK, I need a couple of rep points and I'm about to pull the pin on this...



I'm trying to import some mbox files into a Dovecot sdbox store using something along the lines of:



doveadm -D import -u user@example.com mbox:/path/to/mbox "" mailbox INBOX all


a) Why can't I specify the mbox file? mbox:/mbox-path/inbox.mbox doesn't work with mbox: mbox root directory can't be a file and all that works is renaming the file to inbox, using mbox:/mbox-path and letting it default to that: Debug: mbox: INBOX defaulted to /mbox-path/inbox.



b) So I got it to import to INBOX, but now I can't do mailbox Sent. Renamed sent.mbox to inbox, same default, but it says Error: Mailbox Sent: Mailbox sync failed: Mailbox doesn't exist: Sent. lol wtf, it's right there in front of me (yes, no, not a permissions issue).



The doveadm docs aren't super helpful on this issue. Mbox format, nope. Thought Dovecot mbox config had some clues, but nope.



Should I just try to IMAP -> IMAP in some way? IMAP to something better than mbox and import that? At least this is personal and not 47M emails or something. Should I just get the source?



If it matters, it's 2019-05-16 and: Debian 9 up to date, dovecot-core 2.2.27, mbox files are from a Google archive.










share|improve this question






























    0















    OK, I need a couple of rep points and I'm about to pull the pin on this...



    I'm trying to import some mbox files into a Dovecot sdbox store using something along the lines of:



    doveadm -D import -u user@example.com mbox:/path/to/mbox "" mailbox INBOX all


    a) Why can't I specify the mbox file? mbox:/mbox-path/inbox.mbox doesn't work with mbox: mbox root directory can't be a file and all that works is renaming the file to inbox, using mbox:/mbox-path and letting it default to that: Debug: mbox: INBOX defaulted to /mbox-path/inbox.



    b) So I got it to import to INBOX, but now I can't do mailbox Sent. Renamed sent.mbox to inbox, same default, but it says Error: Mailbox Sent: Mailbox sync failed: Mailbox doesn't exist: Sent. lol wtf, it's right there in front of me (yes, no, not a permissions issue).



    The doveadm docs aren't super helpful on this issue. Mbox format, nope. Thought Dovecot mbox config had some clues, but nope.



    Should I just try to IMAP -> IMAP in some way? IMAP to something better than mbox and import that? At least this is personal and not 47M emails or something. Should I just get the source?



    If it matters, it's 2019-05-16 and: Debian 9 up to date, dovecot-core 2.2.27, mbox files are from a Google archive.










    share|improve this question


























      0












      0








      0








      OK, I need a couple of rep points and I'm about to pull the pin on this...



      I'm trying to import some mbox files into a Dovecot sdbox store using something along the lines of:



      doveadm -D import -u user@example.com mbox:/path/to/mbox "" mailbox INBOX all


      a) Why can't I specify the mbox file? mbox:/mbox-path/inbox.mbox doesn't work with mbox: mbox root directory can't be a file and all that works is renaming the file to inbox, using mbox:/mbox-path and letting it default to that: Debug: mbox: INBOX defaulted to /mbox-path/inbox.



      b) So I got it to import to INBOX, but now I can't do mailbox Sent. Renamed sent.mbox to inbox, same default, but it says Error: Mailbox Sent: Mailbox sync failed: Mailbox doesn't exist: Sent. lol wtf, it's right there in front of me (yes, no, not a permissions issue).



      The doveadm docs aren't super helpful on this issue. Mbox format, nope. Thought Dovecot mbox config had some clues, but nope.



      Should I just try to IMAP -> IMAP in some way? IMAP to something better than mbox and import that? At least this is personal and not 47M emails or something. Should I just get the source?



      If it matters, it's 2019-05-16 and: Debian 9 up to date, dovecot-core 2.2.27, mbox files are from a Google archive.










      share|improve this question
















      OK, I need a couple of rep points and I'm about to pull the pin on this...



      I'm trying to import some mbox files into a Dovecot sdbox store using something along the lines of:



      doveadm -D import -u user@example.com mbox:/path/to/mbox "" mailbox INBOX all


      a) Why can't I specify the mbox file? mbox:/mbox-path/inbox.mbox doesn't work with mbox: mbox root directory can't be a file and all that works is renaming the file to inbox, using mbox:/mbox-path and letting it default to that: Debug: mbox: INBOX defaulted to /mbox-path/inbox.



      b) So I got it to import to INBOX, but now I can't do mailbox Sent. Renamed sent.mbox to inbox, same default, but it says Error: Mailbox Sent: Mailbox sync failed: Mailbox doesn't exist: Sent. lol wtf, it's right there in front of me (yes, no, not a permissions issue).



      The doveadm docs aren't super helpful on this issue. Mbox format, nope. Thought Dovecot mbox config had some clues, but nope.



      Should I just try to IMAP -> IMAP in some way? IMAP to something better than mbox and import that? At least this is personal and not 47M emails or something. Should I just get the source?



      If it matters, it's 2019-05-16 and: Debian 9 up to date, dovecot-core 2.2.27, mbox files are from a Google archive.







      dovecot mbox






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 16 at 8:01







      g4rb4g3_ju1c3

















      asked May 16 at 4:10









      g4rb4g3_ju1c3g4rb4g3_ju1c3

      12




      12




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You need to include a trailing slash on the mbox file:
          doveadm -D import -u user@example.com mbox:/path/to/mbox/ Sent all



          That said, I didn't have much luck with doveadm import. It ignored mbox names with non-ASCII characters, and creates files all over the place on the source. I ended up using mb2md.pl, but that's for transferring mbox to Maildir. Not sure what your options are for sdbox.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f967496%2fproblems-importing-mbox-files-to-dovecot-sdbox-with-doveadm%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You need to include a trailing slash on the mbox file:
            doveadm -D import -u user@example.com mbox:/path/to/mbox/ Sent all



            That said, I didn't have much luck with doveadm import. It ignored mbox names with non-ASCII characters, and creates files all over the place on the source. I ended up using mb2md.pl, but that's for transferring mbox to Maildir. Not sure what your options are for sdbox.






            share|improve this answer



























              0














              You need to include a trailing slash on the mbox file:
              doveadm -D import -u user@example.com mbox:/path/to/mbox/ Sent all



              That said, I didn't have much luck with doveadm import. It ignored mbox names with non-ASCII characters, and creates files all over the place on the source. I ended up using mb2md.pl, but that's for transferring mbox to Maildir. Not sure what your options are for sdbox.






              share|improve this answer

























                0












                0








                0







                You need to include a trailing slash on the mbox file:
                doveadm -D import -u user@example.com mbox:/path/to/mbox/ Sent all



                That said, I didn't have much luck with doveadm import. It ignored mbox names with non-ASCII characters, and creates files all over the place on the source. I ended up using mb2md.pl, but that's for transferring mbox to Maildir. Not sure what your options are for sdbox.






                share|improve this answer













                You need to include a trailing slash on the mbox file:
                doveadm -D import -u user@example.com mbox:/path/to/mbox/ Sent all



                That said, I didn't have much luck with doveadm import. It ignored mbox names with non-ASCII characters, and creates files all over the place on the source. I ended up using mb2md.pl, but that's for transferring mbox to Maildir. Not sure what your options are for sdbox.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 18 at 5:51









                BangaioBangaio

                312




                312



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f967496%2fproblems-importing-mbox-files-to-dovecot-sdbox-with-doveadm%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company