LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

maildir

mail storage format where each email is stored as a separate file in

TLDR

Create Maildir structure
$ mkdir -p [~/Maildir]/{cur,new,tmp}
copy
List new messages
$ ls [~/Maildir/new/]
copy
Move message to read
$ mv [~/Maildir/new/message] [~/Maildir/cur/]
copy
Check Maildir permissions
$ ls -la [~/Maildir/]
copy

SYNOPSIS

Maildir/ - Directory-based email storage format

DESCRIPTION

Maildir is a mail storage format where each email is stored as a separate file in a directory structure. It consists of three subdirectories: cur (read), new (unread), and tmp (in-progress delivery).Maildir avoids file locking issues of mbox format and allows concurrent access from multiple programs.

DIRECTORY STRUCTURE

$ Maildir/
├── cur/     # Read messages
├── new/     # Unread messages
├── tmp/     # Temporary (delivery)
└── .Folder/ # Subfolders (ISTRSTRSTRSTRSTRSTRSTRSTRSTRSTRSTR
    ├── cur/
    ├── new/
    └── tmp/
copy

FILE NAMING

$ # Format: time.pid.hostname:2,flags
1234567890.12345.hostname:2,S

Flags: S=Seen, R=Replied, F=Flagged, T=Trashed, D=Draft
copy

CAVEATS

More files than mbox. Filesystem must support many small files. Some tools expect specific naming. Subfolders prefixed with dot.

HISTORY

Maildir was developed by Daniel J. Bernstein for his qmail MTA in 1995 as a reliable alternative to the traditional mbox format.

SEE ALSO

mutt(1), dovecot(1), offlineimap(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid