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;
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
add a comment |
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
add a comment |
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
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
dovecot mbox
edited May 16 at 8:01
g4rb4g3_ju1c3
asked May 16 at 4:10
g4rb4g3_ju1c3g4rb4g3_ju1c3
12
12
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered May 18 at 5:51
BangaioBangaio
312
312
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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