The mail archive directory consists of multiple directories ending in .mbox. Am I…
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
The mail archive directory consists of multiple directories ending in .mbox. Am I correct in assuming these are in MailDir format?
Assistant
No, you shouldn't assume they're in Maildir format just because they're directories. The .mbox extension typically indicates mbox format, but since you're seeing directories, let me help you determine the actual format.
Check the directory structure
Look inside one of these .mbox directories:
bashls -la /path/to/archive/foldername.mbox/If it's Maildir format, you'll see:
cur/directory (current messages)new/directory (new messages)tmp/directory (temporary)- Possibly
dovecot-uidlistand other metadata files
If it's mbox format, you'll see:
- A single file (often just named
mboxor the folder name) - Or multiple .mbox files